Posted on: 9/17/2015 9:57:31 AM | Views : 867

hi folks

i use an aspx-page to Display several ascx-controls depending on the users Action in the Client. the users Action Triggers a webmethod, that loads the control using the following server-side code:
Dim pStringWriter As New IO.StringWriter
Dim pPage As New Page
Dim pControl As UserControl
pControl = DirectCast(pPage.LoadControl("Edit.ascx"),UserControl)
pPage.Controls.Add(pControl)
HttpCo ...

Go to the complete details ...