I've been battling with this page for the past couple days and it works, but it's annoying, so I am hoping someone maybe has dealt with this and can help me a little.
I have an UpdatePanel that acts as a container for a number of other update panels, everything in this container works. I got the bright idea to add a ModalPopup Extender to enhance the user experience a little when performing a certain function on the site. The panel that acts as the container for the ModalPopup sits outside the UpdatePanel Container because if it's in the container, any interaction with a child control throws "Input string not in the correct format" error message. Because this is outside the comfort of the UpdatePanel Container, any control that populates information into the Popup control has to register a Postback.
Thus my problem: the controls that populate the Popup are GridViews. The only GridView Event I care to cause a PostBack is the SelectedIndexChanged, but PostBack Triggers don't care, they take all comers. Want to go to the next page? PostBack. Sort? Hell Yeah, Postback.
My initial solution is to provide a confirm type of a message under the gridview and have the user confirm their selection by clicking a button to avoid causing a postback until it's necessary, but you know what? That kinda sucks, so I sub
View Complete Post