New to Telerik UI for ASP.NET AJAX? Download free 30-day trial


Telerik.Web.UI.OnDataSourceResolved Property

To get or set property values for client API properties, you must call property accessor methods that are named with the get_ and set_ prefixes. For example, to get or set a value for a property such as cancel, you call the get_cancel or set_cancel.

This event will be raised when the grid source is retrieved from a page method or a web service and before it is processed by the internal RadGrid's data binding logic. Can be used to modify the source or include additional data prior to the grid client binding.

Meaningful with declarative client-side data-binding only!

Fired by GridTableView
Arguments data - the data retrieved from the page method or web service (getter and setter available)
Can be canceled No


<telerik:RadGrid RenderMode="Lightweight" ID="RadGrid1" runat="server">
        <ClientEvents OnDataSourceResolved="RadGrid1_DataSourceResolved" />
function RadGrid1_DataSourceResolved(sender, eventArgs)
    var gridData = eventArgs.get_data();
    //perform some custom actions prior to the binding being processed
In this article