C
Colin Robinson
I can see there is an issue with web user control events on postback but
dont fully understand how to implement a solution.
I have a button on my aspx page, when clicked it adds instances of my web
user control to a placeholder, it looks ok visually but events in the
usercontrol dont fire.How should I instatiate my usercontrol instances so
that events within them fire as expected?
I am currently using the sysntax on the clickevent of a button
dim ocontrol as mycontrol = loadcontrol("~Mycontrol.asax")
me.placeholder.controls.add(ocontrol)
Cheers
dont fully understand how to implement a solution.
I have a button on my aspx page, when clicked it adds instances of my web
user control to a placeholder, it looks ok visually but events in the
usercontrol dont fire.How should I instatiate my usercontrol instances so
that events within them fire as expected?
I am currently using the sysntax on the clickevent of a button
dim ocontrol as mycontrol = loadcontrol("~Mycontrol.asax")
me.placeholder.controls.add(ocontrol)
Cheers