creating a webcontrol consisting of server controls

  • Thread starter Thread starter tolisss
  • Start date Start date
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
 
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
 
Back
Top