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

A class holding the settings for the server data source of the RadClientDataSource.

Definition

Namespace:Telerik.Web.UI.DataSourceSettings

Assembly:Telerik.Web.UI.dll

Syntax:

C#
[TypeConverter(typeof(ExpandableObjectConverter))]
public class DataSourceControlSettings : StateManager, IMarkableStateManager, IStateManager

Inheritance: objectStateManagerDataSourceControlSettings

Implements: IMarkableStateManagerIStateManager

Inherited Members StateManager.TrackViewState()StateManager.LoadViewState(object)StateManager.SaveViewState()StateManager.IsTrackingViewStateStateManager.ViewStateobject.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()object.GetType()object.MemberwiseClone()...

Constructors

C#
public DataSourceControlSettings()

Properties

Gets or sets a value indicating whether the ClientDataSource should perform automatic deletes

C#
public bool AllowAutomaticDeletes { get; set; }
Property Value:

true, when automatic delete from the database would be performed; otherwise false. The default is false.

Gets or sets a value indicating whether the ClientDataSource should perform automatic inserts

C#
public bool AllowAutomaticInserts { get; set; }
Property Value:

true, when automatic insert into the database would be performed; otherwise false. The default is false.

Gets or sets a value indicating whether the ClientDataSource should perform automatic updates

C#
public bool AllowAutomaticUpdates { get; set; }
Property Value:

true, when the automatic updates are allowed; otherwise false. The default is false.

Gets or sets an array of data fields that will be serialized from server to client for use in the clientDataSource control

C#
[SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays")]
[TypeConverter(typeof(DataSourceStringArrayConverter))]
public virtual string[] DataFields { get; set; }

Gets or sets an array of data key names names that will be used to populate the DataKeyNames collection of the ProxyBound control

C#
[SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays")]
[TypeConverter(typeof(DataSourceStringArrayConverter))]
public virtual string[] DataKeyNames { get; set; }

Gets or sets the name of the list of data that the data-bound control binds to, in cases where the data source contains more than one distinct list of data items.

C#
public virtual string DataMember { get; set; }
Property Value:

The name of the specific list of data that the data-bound control binds to, if more than one list is supplied by a data source control. The default value is Empty.

Gets or sets the ID of the data model.

C#
public virtual string DataModelID { get; set; }
Property Value:

The ID of the data model.

Gets or set the server side data source control ID to which the RadClientDataSource is bound

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

Gets or sets the name of the method to call in order to delete data

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

Gets or sets the name of the method to call in order to insert data

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

Gets or sets the name of the method to call in order to retrieve data

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

Gets or sets the name of the method to call in order to update data

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