ok works, just wondering if it's akward programming to do this
VB Code:
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load ' Force another btnPreview_click If pnlPreview.Visible Then btnPreview_Click(Nothing, Nothing) End Sub Private Sub btnPreview_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnPreview.Click pnlPreview.Visible = True ' Generate controls in the panel ' .... End Sub





Reply With Quote