T
ton
Hi,
I would like to open a webform based on the event fired from a
customservercontrol. The webpage is not fixed. I have to set some variable.
I tried:
Private Sub DbWebCard1_ShowCard(ByVal id As Integer) Handles
DbWebCard1.ShowCard
Dim xx As New WebForm3, card As New dbWebCtl.dbWebCard
card.EditFields = "all"
card.ID = id
card.TableID = 14
xx.Controls.Add(card)
In this code webform3 is an empty webform, where I add the control, by doing
soI can adjust the properties. But how can I start the form.
On the other hand I can use a fixed form and open the form by:
Response.Redirect("WebForm3.aspx")
But in this case I can not set the variables
Please help
Thanx
Ton
I would like to open a webform based on the event fired from a
customservercontrol. The webpage is not fixed. I have to set some variable.
I tried:
Private Sub DbWebCard1_ShowCard(ByVal id As Integer) Handles
DbWebCard1.ShowCard
Dim xx As New WebForm3, card As New dbWebCtl.dbWebCard
card.EditFields = "all"
card.ID = id
card.TableID = 14
xx.Controls.Add(card)
In this code webform3 is an empty webform, where I add the control, by doing
soI can adjust the properties. But how can I start the form.
On the other hand I can use a fixed form and open the form by:
Response.Redirect("WebForm3.aspx")
But in this case I can not set the variables
Please help
Thanx
Ton