Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
190
WebDialogWindow with UpdatePanel
posted

Hi,

I have a webgrid where I have a checkbox in the column header as well as in the detail rows.  When the user clicks on the checkbox (check all) in the header I have a jv script that checks all checkbox in the detail rows.  Since my webgrid has a lot of rows, it takes time to loop through.  What I did was I added a modal webdialogwindow to display a wait message.  But it does not seem to show the dialog box.  Here is my code:

function global_clicked(control, ctrlgrid1) {

    var oWebDialogWindow3 = $find('tbTest__ctl1_WebDialogWindow3');
    oWebDialogWindow3.set_windowState($IG.DialogWindowState.Normal, true);

    var grid = igtbl_getGridById(ctrlgrid1.id);

    for (i = 0; i < grid.Rows.length; i++) {
       
        grid.Rows.getRow(i).getCellFromKey('test').getElement().children[0].checked = control.check;
    }
    oWebDialogWindow3.set_windowState($IG.DialogWindowState.Hidden);
 }

Thanks for your help!

 

Parents
No Data
Reply
  • 95
    posted

    Hi Sam,

    I have the same problem. I have tried so many ways. Web dialog window does not show up at all.

    Did you find the solution? If so, please provide the answer.

    Thanks

     

Children
No Data