L
Landley
Hi,
I have created a simple Web User Control. It dynamically creates a table.
With a cell in the table, it creates a Button control set to run at the
server. I then call AddHandler and handle the Click event from the button
and raise it as an event within my User Control. This seems to be
happening, so much as it getting the RaiseEvent line, but it just does not
raise the event. There are no errors, it just carries on executing.
Is there an issue with dynamically adding controls to a user control and
wrapping their events in a single event in a User Control using VB.NET in
ASP.NET? If not, can someone post a sample on how to do so?
L.
I have created a simple Web User Control. It dynamically creates a table.
With a cell in the table, it creates a Button control set to run at the
server. I then call AddHandler and handle the Click event from the button
and raise it as an event within my User Control. This seems to be
happening, so much as it getting the RaiseEvent line, but it just does not
raise the event. There are no errors, it just carries on executing.
Is there an issue with dynamically adding controls to a user control and
wrapping their events in a single event in a User Control using VB.NET in
ASP.NET? If not, can someone post a sample on how to do so?
L.