J
jlw
Hello all, I have a strange one here.
in VS.NET VB web application, I can create a webform,
place server controls on it, run it, and server controls
fire all the right events in the postback routines.
I create a simple usercontrol with one button, drag it
onto the webform, none of the events in the usercontrol
get trapped in the code behind segements.
I even tried adding the usercontrol at runtime by placing
a palce holder on the form, and calling
placeholder.controls.add(page.loadcontrol
("mycontrol.ascx")
the control loads, no problem. then same thing.. no
events trapped by the codebehind routines in the user
control.
Usercontrol events should be respected and fired or there
realy is no purpose for having them...
Anyone ever have this problem? and know of a solutios.sl
THanks,
JLW
in VS.NET VB web application, I can create a webform,
place server controls on it, run it, and server controls
fire all the right events in the postback routines.
I create a simple usercontrol with one button, drag it
onto the webform, none of the events in the usercontrol
get trapped in the code behind segements.
I even tried adding the usercontrol at runtime by placing
a palce holder on the form, and calling
placeholder.controls.add(page.loadcontrol
("mycontrol.ascx")
the control loads, no problem. then same thing.. no
events trapped by the codebehind routines in the user
control.
Usercontrol events should be respected and fired or there
realy is no purpose for having them...
Anyone ever have this problem? and know of a solutios.sl
THanks,
JLW