Looking to add a user control to a sting, something similar to below:
Dim fillcontrol As String = ""
Dim userc As Control = New Control
userc = Me.LoadControl("FILENAME.ascx")
fillcontrol.Controls.Add(userc)
Is this possible? I tried attaching to a label then use the label.text function, but that did not work either.
Dim fillcontrol As String = ""
Dim userc As Control = New Control
userc = Me.LoadControl("FILENAME.ascx")
fillcontrol.Controls.Add(userc)
Is this possible? I tried attaching to a label then use the label.text function, but that did not work either.