Back to Devexpress

CallbackClientSideEventsBase.BeginCallback Property

aspnet-devexpress-dot-web-dot-callbackclientsideeventsbase.md

latest2.7 KB
Original Source

CallbackClientSideEventsBase.BeginCallback Property

Gets or sets the name of the JavaScript function or the entire code which will handle a web control’s client BeginCallback event.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue("")]
public string BeginCallback { get; set; }
vb
<DefaultValue("")>
Public Property BeginCallback As String

Property Value

TypeDefaultDescription
StringString.Empty

A string that represents either the name of a JavaScript function or the entire JavaScript function code used to handle an event.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the BeginCallback property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

asp-net-mvc-scheduler-use-checkboxlist-to-filter-resources/CS/Code/SchedulerHelper.cs#L32

csharp
settings.ClientSideEvents.BeginCallback = "OnBeginCallback";

asp-net-mvc-scheduler-use-checkboxlist-to-filter-resources/VB/Code/SchedulerHelper.vb#L37

vb
settings.ClientSideEvents.BeginCallback = "function(s, e) { " & ControlChars.CrLf & " e.customArgs['SelectedResources'] = cbResources.GetSelectedValues().join(',');" & ControlChars.CrLf & " }"

See Also

CallbackClientSideEventsBase Class

CallbackClientSideEventsBase Members

DevExpress.Web Namespace