Use Grid View In A Modal Pop Up Window

Hi All,

I am using a grid view in a View say Grid-View-A.

In that view I have a button. On click on that button A modal pop-up window is open.

In that window I also want to display a grid-view say Grid-View-B, And the grid view is there in the window.

The next thing I want to do is, To get id of the row of Grid-View-B.

But when I click on the grid view, afterAjaxUpdate function is empty.

I also use this function in Grid-View-A, There it works properly.

Any idea about the issue??

Help me. Thanks in advance.

You could write the jquery onclick method in your main view for the grid view that is showing in modal pop up.

Can paste related code here?