Nov 30, 2010 07:20 PM|hfamili|LINK
Btw, for now i changed the strategy as follows:
- user a "container" page which simply only has the control in it.
- Then from my calling page when i need the control rendered, i use this helper/container page instead of RenderControl:
Dim sb As StringBuilder = New StringBuilder
Dim sw As StringWriter = New StringWriter(sb)
Dim htw As HtmlTextWriter = New HtmlTextWriter(sw)
' User a helper page to render the control.
And it works! So no more worrying about the server tag issue.