Provides properties related to setting the client-side data-binding in Telerik RadGrid.
You can get a reference to this class using DataBinding property.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
[TypeConverter(typeof(ExpandableObjectConverter))]
public class GridClientDataBinding : ObjectWithState
Inheritance: objectObjectWithStateGridClientDataBinding
Inherited Members
Constructors
Properties
Gets or set data property total records count for the SelectMethod in the WebService or Page which will be requested to get data and count. Default is "Count"!
public virtual string CountPropertyName { get; set; }
Gets or set data property name for the SelectMethod in the WebService or Page which will be requested to get data and count. Default is "Data"!
public virtual string DataPropertyName { get; set; }
Gets a reference to GridClientDataService class providing properties related to client-side ADO.NET DataService data-binding.
[PersistenceMode(PersistenceMode.InnerProperty)]
public GridClientDataService DataService { get; }
Gets or set a value indicating whether the client-side caching should be enabled or not.
public virtual bool EnableCaching { get; set; }
Gets or set filter parameter name for the SelectMethod in the WebService or Page which will be requested to get data.
public virtual string FilterParameterName { get; set; }
Gets or set filter parameter type for the SelectMethod in the WebService or Page which will be requested to get data. Default value is List.
public virtual GridClientDataBindingParameterType FilterParameterType { get; set; }
Gets or sets url for the WebService or Page which will be requested to get data.
public virtual string Location { get; set; }
Gets or sets maximum rows parameter name for the SelectMethod in the WebService or Page which will be requested to get data.
public virtual string MaximumRowsParameterName { get; set; }
Gets or sets the type of the data requested from a data service. A value of GridClientDataResponseType.JSONP allows for cross-domain JSONP requests. Default value is GridClientDataResponseType.JSON.
public GridClientDataResponseType ResponseType { get; set; }
Gets or sets method name in the WebService or Page which will be requested to get total records count.
public virtual string SelectCountMethod { get; set; }
Gets or sets method name in the WebService or Page which will be requested to get data.
public virtual string SelectMethod { get; set; }
Gets or sets a value indicating whether empty data rows are shown in RadGrid when client-side databinding is setup. Defalut value is true.
public bool ShowEmptyRowsOnLoad { get; set; }
Gets or set sort parameter name for the SelectMethod in the WebService or Page which will be requested to get data.
public virtual string SortParameterName { get; set; }
Gets or set sort parameter type for the SelectMethod in the WebService or Page which will be requested to get data. Default value is List.
public virtual GridClientDataBindingParameterType SortParameterType { get; set; }
Gets or set start row index parameter name for the SelectMethod in the WebService or Page which will be requested to get data.
public virtual string StartRowIndexParameterName { get; set; }