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

Definition

Namespace:Telerik.Web.UI

Assembly:Telerik.Web.UI.dll

Syntax:

C#
[RequiredScript(typeof(jQueryPlugins))]
[RequiredScript(typeof(Html5Data))]
[ClientScriptResource("Telerik.Web.UI.RadClientDataSource", "Telerik.Web.UI.ClientDataSource.RadClientDataSourceScripts.js")]
[TelerikToolboxCategory("Data")]
public class RadClientDataSource : Control, IScriptControl, IControl, IControlResolver, IPostBackDataHandler, ICallbackEventHandler

Inheritance: objectRadClientDataSource

Derived Classes: WebServiceClientDataSource

Implements: ICallbackEventHandlerIControlIControlResolverIPostBackDataHandlerIScriptControl

Constructors

C#
public RadClientDataSource()

Properties

C#
public virtual ClientDataSourceAggregatesCollection Aggregates { get; }
C#
public virtual bool AllowBatchOperations { get; set; }
C#
public virtual bool AllowPaging { get; set; }
C#
public virtual bool AutoSync { get; set; }
C#
public ClientDataSourceClientEvents ClientEvents { get; }
C#
[ClientControlProperty]
[Browsable(false)]
public string ClientStateFieldID { get; }
C#
[Bindable(true)]
[Browsable(false)]
public int CurrentPageIndex { get; set; }
C#
public virtual ClientDataSourceSettings DataSource { get; }
C#
public virtual bool EnableServerAggregates { get; set; }
C#
public virtual bool EnableServerFiltering { get; set; }
C#
public virtual bool EnableServerGrouping { get; set; }
C#
public virtual bool EnableServerPaging { get; set; }
C#
public virtual bool EnableServerSorting { get; set; }
C#
public virtual ClientDataSourceFilterExpression FilterExpression { get; }
C#
public virtual ClientDataSourceGroupExpressionCollection GroupExpressions { get; }
C#
public virtual int PageSize { get; set; }
C#
public virtual bool RegisterWithScriptManager { get; set; }

Implements: IControl.RegisterWithScriptManager

C#
public virtual ClientDataSourceSchema Schema { get; }

ScriptManager

ScriptManager

C#
protected ScriptManager ScriptManager { get; }
C#
public virtual ClientDataSourceSortExpressionCollection SortExpressions { get; }

Methods

C#
protected void DescribeEvent(IScriptDescriptor descriptor, string eventName, string handlerName)
Parameters:descriptorIScriptDescriptoreventNamestringhandlerNamestring
C#
public string GetCallbackResult()
Returns:

string

C#
public IEnumerable<ScriptDescriptor> GetScriptDescriptors()
Returns:

IEnumerable<ScriptDescriptor>

C#
public IEnumerable<ScriptReference> GetScriptReferences()
Returns:

IEnumerable<ScriptReference>

C#
protected virtual bool LoadClientState(Dictionary<string, object> clientState)
Parameters:clientStateDictionary<string, object>Returns:

bool

C#
protected virtual bool LoadPostData(string postDataKey, NameValueCollection postCollection)
Parameters:postDataKeystringpostCollectionNameValueCollectionReturns:

bool

C#
protected override void LoadViewState(object savedState)
Parameters:savedStateobject
C#
protected override void OnInit(EventArgs e)
Parameters:eEventArgs
C#
protected override void OnPreRender(EventArgs e)
Parameters:eEventArgs
C#
public void RaiseCallbackEvent(string eventArgument)
Parameters:eventArgumentstring
C#
protected virtual void RaisePostDataChangedEvent()
C#
protected virtual void RegisterScriptControl()
C#
protected virtual void RegisterScriptDescriptors()
C#
protected override void Render(HtmlTextWriter writer)
Parameters:writerHtmlTextWriter
C#
protected virtual void RenderDescriptorsNoScriptManager(HtmlTextWriter writer)
Parameters:writerHtmlTextWriter
C#
protected override object SaveViewState()
Returns:

object

C#
protected override void TrackViewState()