I have a Page that has a single instance of a UserControl that itself has a single UpdatePanel. Inside the UpdatePanel are several Button controls. The Click event for these controls are wired up in the code-behind, in the Init event of the UserControl.
I get the Click event for the first button I push, every time, no problem. After ...
I have some JavaScript to toggle a dropdownlists in a ASP.NET page , which gets called when I click a button. I have like 4-5 dropdownlist/Toggle button pair. Each toggle button toggles the enable/disable property on the associated dropdownlist.
I save the disabled property value of a hidden field to track the disabled state of a button...
Short of posting my entire website here, I will first try and explain what is actually happening.
First off, I have a simple website that has a master page etc. Simple backend database, no bells and whistles just simple stuff.
However whenever I use a control that will make use of a partial postback. It never works on the first click...