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

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:

C#
[TypeConverter(typeof(ExpandableObjectConverter))]
public class GridClientDataBinding : ObjectWithState

Inheritance: objectObjectWithStateGridClientDataBinding

Inherited Members object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()object.GetType()object.MemberwiseClone()...

Constructors

C#
public GridClientDataBinding(StateBag OwnerStateBag)
Parameters:OwnerStateBagStateBag

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"!

C#
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"!

C#
public virtual string DataPropertyName { get; set; }

Gets a reference to GridClientDataService class providing properties related to client-side ADO.NET DataService data-binding.

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
public GridClientDataService DataService { get; }

Gets or set a value indicating whether the client-side caching should be enabled or not.

C#
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.

C#
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.

C#
public virtual GridClientDataBindingParameterType FilterParameterType { get; set; }

Gets or sets url for the WebService or Page which will be requested to get data.

C#
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.

C#
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.

C#
public GridClientDataResponseType ResponseType { get; set; }

Gets or sets method name in the WebService or Page which will be requested to get total records count.

C#
public virtual string SelectCountMethod { get; set; }

Gets or sets method name in the WebService or Page which will be requested to get data.

C#
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.

C#
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.

C#
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.

C#
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.

C#
public virtual string StartRowIndexParameterName { get; set; }