1 Replies - 3903 Views - Last Post: 18 May 2013 - 07:20 AMRate Topic:

Trigger Postback in Jquery Modal Popup from Grid View Item

Posted 08 May 2013 - 03:03 AM

I have a grid view control with list of rows items. Each rows has a button which would triggers a client side pop up modal form to ask the user to enter some data before continue to execute the server side method. The problem is I cant find a way to continue the postback after the user clicked 'Confirm' button on the modal form. Most importantly, the server side method is reside within a DataGrid OnItemCommand Event. Before the method would be executed, several parameters from the other column in the same row would be collected. Any idea to deal with this ? Appreciate so much for anyone can solve it.

Re: Trigger Postback in Jquery Modal Popup from Grid View Item

Posted 18 May 2013 - 07:20 AM

Why don't you place the code under the click event of the button that brings up the modal? Then you just make sure the button is going to be posting back somewhere or force the window.location to change on click. It's your call. Example: