Hi George,
Based on my research and experience, I would like to share the following
information with you.
The base class of a Web control has several Render methods available. All
of these use the HTMLTextWriter class to render content.
The Render method enables the controller to render itself by writing HTML
output to the response stream. This passes a reference to the
HTMLTextWriter object, which can write directly to the response stream.
This method should be used when you derive directly from control.
http://msdn.microsoft.com/library/de...us/cpref/html/
frlrfsystemwebu icontrolclassre ndertopic.asp
The RenderControl method is used by the page to render each individual
control. It allows the consumer of your class to render it, and you can use
it to render the child controls if you're using a composite control. Also,
one thing to note is that this will not be invoked if the visibility
property on the control is set to false.
http://msdn.microsoft.com/library/de...us/cpref/html/
frlrfsystemwebu icontrolclassre ndercontroltopi c.asp
Does it answer your question? If I have misunderstood your concern, please
feel free to let me know.
Best regards,
Jacob Yang
Microsoft Online Partner Support
Get Secure! ¨C
www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.