I need some advice on techniques to perform page redirect in asp.net. Which one is more recommended to use in asp.net?
Dynamically changed the src of the Iframe to difference aspx.
Dim frame As HtmlControl = CType(Me.FindControl("frameMain"), HtmlControl)
frame.Attributes("src") = "page1.aspx"Dynamically load web user controls to an asp:panel.
panelMain.Controls.Clear()
panelMain.Controls.Add(LoadControl("WebControl/page1.ascx"))(convert all aspx page to web user controls)