I did get this script from a another forum
I .aspx.
vb file write this
Private Sub Page_Init(ByVal sender As System.Object, ByVal e As System.EventArgs)
Dim strload As String
If Request.QueryString("Page") = "" Then
strload = "/home.net/home.ascx"
Else
strload = "/home.net/" & Request.QueryString("Page") & ".ascx"
End If
Dim ctrl1 As Control = CType(Page.LoadControl(strload), Control)
PH1.Controls.Add(ctrl1)
End Sub
and then in the aspx file where you want the page load this:
<asp:placeholder ID="PH1" runat="server"></asp:placeholder>
Then You can have pages in .ascx and you don't need html tags in ascx