This is a migrated thread and some comments may be shown as answers.

[Solved] grid.ajaxRequest(); async:false

0 Answers 28 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
d
Top achievements
Rank 1
d asked on 03 May 2012, 10:23 PM
I am doing a javascript/jquery   
    var grid = $("#GridHistory").data('tGrid');
            grid.ajaxRequest();
to refresh the grid.  

But, I want the request to by synchronous / blocking until the grid refresh is complete.  
Is there some way to make the grid.ajaxRequest synchronous?


Or,   Can I somehow call grid.ajaxRequest in a jquery ajax request?

 $.ajax({
                 url: '@Url.Action("xyz""pdqcontroller")',
                 data: ($checkedRecords),
                 async: false,
                 success: function (data) {
                     $("#Page").html(data);
                 }
Tags
Grid
Asked by
d
Top achievements
Rank 1
Share this question
or