Home All Groups Group Topic Archive Search About

How do I get custom ITemplate to be recognized.

Author
21 Mar 2006 9:48 PM
Todd Burry
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?

Author
23 Mar 2006 2:38 PM
Phillip Williams
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?

Bookmark and Share