Posted on: 4/12/2011 9:33:58 AM | Views : 384

Hi,
as we know every UI control in asp.net have a Render method that is called and a HtmlTextWriter refreence is passed where actual HTML markup is assigned to the object referenced by that variable.
In the Render method i want to Read that HTML markup generated for that control .Is that possible ?
I am doing something like this , but which property , method will return me the actual HTML markup that is just generated for that control ?
Class GV Inherits GridView Protected Overrides Sub Render(ByVal writer As System.Web.UI.HtmlTextWriter) MyBase.Render(writer) ImpHtr.htr = writer Dim str As String = writer.ToString() End Sub End Class
...

Go to the complete details ...