Adding controls to a user control

Discussion in 'ASP .Net Building Controls' started by Stephen Woolhead, Feb 2, 2005.

  1. I have several user controls that share a common boarder, so I would like to
    remove it and place it in a base class.

    For this example, I just want to wrap the ascx in a div. I have derived the
    ascx control from my base class that in turn inherits from UserControl.

    How is the best way to do this? I could just render the tags by hand in the
    render method, but I need access to things like the uniqueId.

    Thanks

    Stephen.
     
    Stephen Woolhead, Feb 2, 2005
    #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. =?Utf-8?B?REo=?=
    Replies:
    2
    Views:
    476
    =?Utf-8?B?REo=?=
    Dec 1, 2005
  2. POPone
    Replies:
    0
    Views:
    330
    POPone
    Sep 12, 2006
  3. Faizan Ahmed
    Replies:
    1
    Views:
    288
    John Saunders
    Jan 4, 2005
  4. Travis Pruitt

    Dynamically Adding User Control with Child User Control

    Travis Pruitt, Jan 13, 2005, in forum: ASP .Net Building Controls
    Replies:
    0
    Views:
    185
    Travis Pruitt
    Jan 13, 2005
  5. Faizan Ahmed
    Replies:
    1
    Views:
    366
    John Saunders
    Jan 4, 2005
Loading...

Share This Page