problem with control id

Discussion in 'ASP .Net Web Controls' started by Rafa³ Ziêba, Jun 27, 2008.

  1. I wrote a Control that has a Collection of Controls as one of properties. I
    managed to add designer support for it. Then I created another Control that
    has the first one as Item type of a Collection property. In essence there is
    a control that is a collection of a collection and every step is derived
    from Control.

    The problem is that when I create it in the designer ID of a middle control
    is not being generated. There is no ID attribute. ID's of controls of the
    lowest level are ok. I'm using Visual Studio 2008 and everything is
    rendering fine. I need those ID's and I've run out of ideas what can be
    wrong?

    Rafal
    Rafa³ Ziêba, Jun 27, 2008
    #1
    1. Advertising

  2. Hi Rafal

    > The problem is that when I create it in the designer ID of a middle
    > control is not being generated. There is no ID attribute. ID's of controls
    > of the lowest level are ok. I'm using Visual Studio 2008 and everything is
    > rendering fine. I need those ID's and I've run out of ideas what can be
    > wrong?

    Some example Code or illustrations?

    --
    Gruss, Peter Bucher
    Microsoft MVP - Visual Developer ASP / ASP.NET, Switzerland
    http://www.aspnetzone.de/ - ASP.NET Zone, die ASP.NET Community
    http://www.aspnetzone.de/blogs/peterbucher/ - Auf den Spuren von .NET
    Peter Bucher [MVP], Jun 30, 2008
    #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. Replies:
    0
    Views:
    715
  2. Matthew Louden
    Replies:
    1
    Views:
    6,906
    Scott M.
    Oct 11, 2003
  3. Mad Scientist Jr
    Replies:
    0
    Views:
    633
    Mad Scientist Jr
    Mar 22, 2006
  4. shapper
    Replies:
    6
    Views:
    952
    shapper
    Dec 26, 2007
  5. Jonathan Wood

    User Control to Control Other User Control

    Jonathan Wood, Jan 24, 2010, in forum: ASP .Net
    Replies:
    4
    Views:
    540
    Jonathan Wood
    Feb 2, 2010
Loading...

Share This Page