In ASP.NET 4.5 C# web forms application, I would like to avoid postback on a button click event which pulls data from database and binds the gridview. The gridview is going to have an edit button on each row. I would like to avoid postback when that edit button is clicked. There's also going to be a button on each row which will show a modal pop-up when clicked and this pop-up is going to have buttons. When the modal pop-up is closed, data in that gridview row will be updated.
I have been using updatepanels. They do avoid full-page refresh, but don't reduce viewstate. The gridview is going to return a lot of rows. So when I click on any of the buttons in gridview, it's going to take a while for even the gridview to go into edit mode or for the pop-up to show up and. How would I reduce or eliminate this time lag? Thank you.