creating a webcontrol consisting of server controls

T

tolisss

Hi

i m trying to find a way to create a user control that will have a mix
of server controls
but i cannot find a way to get the html that these controls are going
to render before my control is rendered so i can write them all at my
webcontrol Render method

that is my though of implemeting that please someone suggest a proper
way of doing it

thnks
 
G

Guest

Hi tolisss,

If you are creating a UserControl, the controls will render their own HTML,
you don't have to worry about it. If you are creating a custom WebControl,
call the RenderChildren(htmlTextWriter) method of the class.

Tim
 

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

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top