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

[Solved] call grid databind from clientside script

2 Answers 127 Views
Grid
This is a migrated thread and some comments may be shown as answers.
scott
Top achievements
Rank 1
scott asked on 11 Jun 2009, 07:56 PM
can this be done? I know public shared functions can be referenced and called from client scripts as a web-service but that makes it nearly impossible to call the grids databind method.
is there a solution?

2 Answers, 1 is accepted

Sort by
0
Accepted
Daniel
Telerik team
answered on 11 Jun 2009, 09:50 PM
Hello Scott,

Please examine the following link:
RadGrid client-side API: rebind

<script type="text/javascript">  
    function clearPicker()  
    {  
        var radGrid = $find('<%= RadGrid1.ClientID %>');  
        radGrid.get_masterTableView().rebind();  
    }  
</script> 

Kind regards,
Daniel
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
scott
Top achievements
Rank 1
answered on 11 Jun 2009, 10:06 PM
Perfect! thank you. this was the last type of functionality I needed while evaluating the controls. I guess i will be a new customer.
Tags
Grid
Asked by
scott
Top achievements
Rank 1
Answers by
Daniel
Telerik team
scott
Top achievements
Rank 1
Share this question
or