How do I get custom ITemplate to be recognized.

Discussion in 'ASP .Net Web Controls' started by Todd Burry, Mar 21, 2006.

  1. Todd Burry

    Todd Burry Guest

    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?
    Todd Burry, Mar 21, 2006
    #1
    1. Advertising

  2. http://msdn.microsoft.com/library/d...s/dnaspp/html/ASPNet-AddDesignTimeSupport.asp
    --
    HTH,
    Phillip Williams
    http://www.societopia.net
    http://www.webswapp.com


    "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?
    Phillip Williams, Mar 23, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Luhar Powell via .NET 247
    Replies:
    0
    Views:
    2,448
    Luhar Powell via .NET 247
    Apr 1, 2005
  2. LaptopHeaven
    Replies:
    0
    Views:
    407
    LaptopHeaven
    Oct 5, 2006
  3. Luhar Powell via .NET 247

    Newbie:Access custom Itemplate(not datagrid/repeater/datalist) control values on postback

    Luhar Powell via .NET 247, Apr 1, 2005, in forum: ASP .Net Building Controls
    Replies:
    0
    Views:
    216
    Luhar Powell via .NET 247
    Apr 1, 2005
  4. Using ITemplate as property of a custom control

    , Jan 24, 2007, in forum: ASP .Net Building Controls
    Replies:
    3
    Views:
    523
    Peter Zolja
    Jan 31, 2007
  5. Eli Gassert
    Replies:
    0
    Views:
    233
    Eli Gassert
    Jun 11, 2004
Loading...

Share This Page