Don't Forget RenderControl!.

Is it possible to just get the raw HTML that is sent to the browser when a web control is rendered?

Yes, but only if you subclass the control. The method you need to call is 'Render' and it's protected. Here's aquick sample... [Wrinkled Paper]

Ack! No. Just call Control.RenderControl(). :-p No need to sub-class the control just to get its rendered data... If you have Visual Studio.NET installed, you canread all about it here.

[The .NET Guy]

Thanks Brad. :o)

posted on Friday, January 03, 2003 3:19 PM |
Comments have been closed on this topic.