Hi Everyone,
Recently, when I was trying to wire up an event for a GridView inside an AJAX Accordion, I was doing the wiring up in the code behind. The event never fired. When I moved that declaration into the HTML markup, the event fired and worked properly.
Just today I experienced the same thing with attempting to wire up an event for a LinkButton inside of a ListView that is contained within an UpdatePanel. I tried putting the event wire up in the code behind and the event never fired. Once again, when I moved the declaration into the HTML markup, the event fired and worked properly.
Does anyone have any insight into why I have to wire up events this way?
Thanks.
Recently, when I was trying to wire up an event for a GridView inside an AJAX Accordion, I was doing the wiring up in the code behind. The event never fired. When I moved that declaration into the HTML markup, the event fired and worked properly.
Just today I experienced the same thing with attempting to wire up an event for a LinkButton inside of a ListView that is contained within an UpdatePanel. I tried putting the event wire up in the code behind and the event never fired. Once again, when I moved the declaration into the HTML markup, the event fired and worked properly.
Does anyone have any insight into why I have to wire up events this way?
Thanks.
Comment