G
Guest
I have an application that was built using asp.net 1.1. The application
interviews the user with a parent form that loads a series of web user
controls (.ascx files)dynamically with page.loadcontrol. It needs to be
dynamic because the next user control loaded is based on the answer to the
previous question. The application has worked flawlessly for many years. I
recently upgraded the application to .net 2.0 and found that the button click
events on the web user control are no longer firing. After closer
examination I found that when I set a breakpoint on the parent form the
postback is happening there instead of the click event handler on the .ascx
web user control.
Can anyone give me a suggestion on how to get the click event to go to the
user control instead of the parent?
interviews the user with a parent form that loads a series of web user
controls (.ascx files)dynamically with page.loadcontrol. It needs to be
dynamic because the next user control loaded is based on the answer to the
previous question. The application has worked flawlessly for many years. I
recently upgraded the application to .net 2.0 and found that the button click
events on the web user control are no longer firing. After closer
examination I found that when I set a breakpoint on the parent form the
postback is happening there instead of the click event handler on the .ascx
web user control.
Can anyone give me a suggestion on how to get the click event to go to the
user control instead of the parent?