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:
[TypeConverter(typeof(ExpandableObjectConverter))]
public class DataSourceControlSettings : StateManager, IMarkableStateManager, IStateManager
Inheritance: objectStateManagerDataSourceControlSettings
Implements:
Inherited Members
Constructors
public DataSourceControlSettings()
Properties
Gets or sets a value indicating whether the ClientDataSource should perform automatic deletes
public bool AllowAutomaticDeletes { get; set; }
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
public bool AllowAutomaticInserts { get; set; }
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
public bool AllowAutomaticUpdates { get; set; }
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
[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
[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.
public virtual string DataMember { get; set; }
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.
public virtual string DataModelID { get; set; }
The ID of the data model.
Gets or set the server side data source control ID to which the RadClientDataSource is bound
public virtual string DataSourceID { get; set; }
Gets or sets the name of the method to call in order to delete data
public virtual string DeleteMethod { get; set; }
Gets or sets the name of the method to call in order to insert data
public virtual string InsertMethod { get; set; }
Gets or sets the name of the method to call in order to retrieve data
public virtual string SelectMethod { get; set; }
Gets or sets the name of the method to call in order to update data
public virtual string UpdateMethod { get; set; }