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

radGrid refresh client side

1 Answer 1093 Views
Grid
This is a migrated thread and some comments may be shown as answers.
kks
Top achievements
Rank 1
kks asked on 21 Nov 2008, 09:15 AM
Hi Telerik,

  i have upgraded my rad grid from Q3 2007 to Q3 2008.
after this when i am trying to rebind my grid from client side , it is showing error.
i am opening a radwindow and i want to refresh my grid in parant window while closing this child window.

below the code which i used in Q3 2007

 

function refreshGrid(arg)

 

{

 

     if(!arg)

 

    {

     window[

"<%= RadRfqLineItem.ClientID %>"].AjaxRequest('<%= RadRfqLineItem.UniqueID %>', 'Rebind');

 

    }

 

   else

 

   {

    window[

"<%= RadRfqLineItem.ClientID %>"].AjaxRequest('<%= RadRfqLineItem.UniqueID %>', 'RebindAndNavigate');

 

   }

 

 

}

can anybody help in this code.

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 21 Nov 2008, 09:20 AM
Hi kks,

Client-side API in RadControls for ASP.NET AJAX is different. You can check our help documentation for more info.

In this particular case you can call:

$find("<%= RadRfqLineItem.ClientID %>").get_masterTableView().rebind();



All the best,
Vlad
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
kks
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or