I am encountering an issue where I have 1 aspx page, page_A and two user controls, control1 and control2. When control1 is loaded and the user clicks on a button, this fires an event that is delegated to page_A to load control2 and pass the data selected in control1 to conrol2 to use. I have this model working OK.
The issue I am running into is once in control2, and only in the initial load, if the user clicks on a check box, the OnClickChanged event is not captured and the page/control2 is reloaded. Once that happens, when I click on the checkbox, the OnClickChanged event is handled appropriatly.
I'm not sure where the eventhandler for the onclickchanged event is getting lost. When I turn on tracing I see the __EVENTTARGET as the Checkbox control for both the initial load and subsequent control2 loads.
Any insight on this would be appreciated.
The issue I am running into is once in control2, and only in the initial load, if the user clicks on a check box, the OnClickChanged event is not captured and the page/control2 is reloaded. Once that happens, when I click on the checkbox, the OnClickChanged event is handled appropriatly.
I'm not sure where the eventhandler for the onclickchanged event is getting lost. When I turn on tracing I see the __EVENTTARGET as the Checkbox control for both the initial load and subsequent control2 loads.
Any insight on this would be appreciated.