New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial
dataBind
Updated over 6 months ago
Method which will force client rebind of the grid and will refresh its state when a new data source is assigned using the set_dataSource() method. Meaningful in this scenario only.
| dataBind() | 
|---|
Example:
JavaScript
function assignDataSourceAndRefresh()
{
    var masterTable = $find("<%= RadGrid1.ClientID %>").get_masterTableView();
    masterTable.set_dataSource(<some_data_source_of_the_specified_type_above>);
    masterTable.dataBind();
}