|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
How do I get custom ITemplate to be recognized.I created a custom Repeater control that works basically just like the
standard Repeater control and it works fine. However, when editing the aspx page I cannot get intellisense in any of the items and get the following error on the control: Cannot switch views: Content is not allowed between opening and closing tags for element 'Repeater'. Is there some attribute or other way I can get this control to behave like the Repeater at design time?
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/ASPNet-AddDesignTimeSupport.asp
Show quote Hide quote "Todd Burry" wrote:
> I created a custom Repeater control that works basically just like the > standard Repeater control and it works fine. However, when editing the aspx > page I cannot get intellisense in any of the items and get the following > error on the control: > > Cannot switch views: Content is not allowed between opening and closing tags > for element 'Repeater'. > > Is there some attribute or other way I can get this control to behave like > the Repeater at design time?
Other interesting topics
Bind data to control inside a Repeater
Master/Details cloning a record? GridView disapears after entering edit mode. ObjectDataSource method as another ObjectDataSource put control in a repeater cell from code behind Intellisense question Refreshing TreeView CrossPage Posting and the How Do I Webcast FileUpload name goes away Master Page - File References |
|||||||||||||||||||||||