Gets or sets a name of the client side function that should be fired on client side when one of the caption buttons is clicked after dialog handles the operation.
Namespace:
C1.Web.UI.Controls.C1WindowAssembly: C1.Web.UI.Controls.2 (in C1.Web.UI.Controls.2.dll)
Syntax
C# |
---|
[C1CategoryAttribute("Category.ClientSideEvents")] [JsonAttribute(true, true, "")] [DefaultValueAttribute("")] [EditorAttribute("C1.Web.UI.Design.UITypeEditors.C1ClientHandlerUITypeEditor, C1.Web.UI.Design.2", typeof(UITypeEditor))] [ClientSideHandlerArgsAttribute("sender, e")] [LayoutAttribute(LayoutType.All)] public string OnClientButtonClicked { get; set; } |
Visual Basic |
---|
<C1CategoryAttribute("Category.ClientSideEvents")> _ <JsonAttribute(True, True, "")> _ <DefaultValueAttribute("")> _ <EditorAttribute("C1.Web.UI.Design.UITypeEditors.C1ClientHandlerUITypeEditor, C1.Web.UI.Design.2", _ GetType(UITypeEditor))> _ <ClientSideHandlerArgsAttribute("sender, e")> _ <LayoutAttribute(LayoutType.All)> _ Public Property OnClientButtonClicked As String Get Set |
Remarks
There are two arguments that are passed to the function:
sender: dialog object that fired the event.
e: object that provides data for the event.
See client side object model section in documentation for more details.