Disable creation of member variables for ascx control

Discussion in 'ASP .Net' started by Achim Domma, Jun 13, 2006.

  1. Achim Domma

    Achim Domma Guest

    Hi,

    I have an ascx control which derives from a base class, which already
    has members for child controls in the ascx. If I edit the ascx in visual
    studio 2005, the derived class get's automatically the same members
    which hide these from the base class.

    The compiler shows an warning, but the code compiles but does not work,
    because I have the child controls twice and only on instance is set.

    Is it possible to disable automatic generation of member variables for ascx?

    regards,
    Achim
     
    Achim Domma, Jun 13, 2006
    #1
    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. Quentin
    Replies:
    1
    Views:
    521
    Quentin
    Jul 29, 2003
  2. Jason Shohet
    Replies:
    1
    Views:
    516
    Kevin Spencer
    Nov 10, 2003
  3. Holger (David) Wagner
    Replies:
    2
    Views:
    1,981
    Holger (David) Wagner
    Jul 3, 2004
  4. Replies:
    9
    Views:
    1,014
  5. Joe
    Replies:
    1
    Views:
    413
    Jeffrey Tan[MSFT]
    Feb 16, 2004
Loading...

Share This Page