Adding controls to a user control

  • Thread starter Stephen Woolhead
  • Start date
S

Stephen Woolhead

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.
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,767
Messages
2,569,572
Members
45,045
Latest member
DRCM

Latest Threads

Top