extended DataList VS 2003 says 'the active schema does not support

Discussion in 'ASP .Net Building Controls' started by asapjim, Mar 1, 2006.

  1. asapjim

    asapjim Guest

    Hi, I have created a custom control for use in asp.net projects using vb.net
    and visual studio 2003. The control is working, however, on the HTML pane of
    the aspx page I am receiving red underlines on all of the template
    declarations with the message:
    the active schema does not support the element 'HeaderStyle'
    The message applies to ItemTemplate, AlternatingItemStyle, etc.

    My control Inherits from System.Web.UI.WebControls.DataList and implements
    IPostBackHandler.

    Is there another interface I need to implement or method I need to override
    in order to resolve this?
    asapjim, Mar 1, 2006
    #1
    1. Advertising

  2. asapjim

    DWS Guest

    http://msdn2.microsoft.com/en-us/library/9txe1d4x.aspx
    Jim,
    Seems like it would work.

    You need to add a colletion property to your user control and load the list
    manually. Sorry about the 2.0 link

    Good Luck
    DWS


    "asapjim" wrote:

    > Hi, I have created a custom control for use in asp.net projects using vb.net
    > and visual studio 2003. The control is working, however, on the HTML pane of
    > the aspx page I am receiving red underlines on all of the template
    > declarations with the message:
    > the active schema does not support the element 'HeaderStyle'
    > The message applies to ItemTemplate, AlternatingItemStyle, etc.
    >
    > My control Inherits from System.Web.UI.WebControls.DataList and implements
    > IPostBackHandler.
    >
    > Is there another interface I need to implement or method I need to override
    > in order to resolve this?
    >
    DWS, Mar 2, 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. TR
    Replies:
    0
    Views:
    1,006
  2. RJN
    Replies:
    1
    Views:
    1,549
    Scott Allen
    Sep 30, 2004
  3. Developers@Enzigma
    Replies:
    0
    Views:
    1,138
    Developers@Enzigma
    Nov 10, 2004
  4. rob thomson
    Replies:
    0
    Views:
    254
    rob thomson
    Sep 4, 2003
  5. ram
    Replies:
    0
    Views:
    276
Loading...

Share This Page