Hi,
I need to send a panel from one page to another, so I saved the html of that panel into a session variable by using the RenderControl method:
Public Shadows Function RenderControl(ByVal ctrl As Control) As String
Dim sb As StringBuilder = New StringBuilder
Dim tw As StringWriter = New StringWriter(sb)
Dim hw As HtmlTextWriter = New HtmlTextWriter(tw)
ctrl.RenderControl(hw)
Return sb.ToString
End Function
.....
Dim doc As New XPathDocument(Server.MapPath(Pages.Dirs.Xmls.Input & (CTy ...
Go to the complete details ...