Reputation: 8078
I have a modal popup that contains a gridview. On the click of a button inside of a grid i reload the gridview with the data that depends on the id of the row clicked in the gridview. I would have like to reload the gridview onclientclick but I couldn't find a way to do that. Is it possible to reload a gridview client-side without the user even knowing the page partially loaded?
Upvotes: 0
Views: 1882
Reputation: 3533
Have a look at what Matt Berseth is doing with gridview/detailsview, it might be of some help to you.
http://mattberseth.com/blog/2008/04/masterdetail_with_the_gridview.html
Upvotes: 1
Reputation: 44288
Why don't you wrap your GridView & Button, in an updatePanel, inside the ModalPopup.
That way, your _click
still fires and still updates the gridview but you won't experience a full page postback/submit.
Upvotes: 0