C
CalSun
Hi all,
I have a login control. As I add this control at design time, the control
login_button_Click event got called.
However, it doesn't do the same as I add this control dynamically.
Here is how I load the ctrl dynamically
Dim loginctrl As Control
loginctrl = LoadControl("login.ascx")
BodyPage.Controls.Add(loginctrl)
(bodypage is the id of a placeholder)
thank you all for helping.
--calsun
I have a login control. As I add this control at design time, the control
login_button_Click event got called.
However, it doesn't do the same as I add this control dynamically.
Here is how I load the ctrl dynamically
Dim loginctrl As Control
loginctrl = LoadControl("login.ascx")
BodyPage.Controls.Add(loginctrl)
(bodypage is the id of a placeholder)
thank you all for helping.
--calsun