CaptchaEventBuilder
Defines the fluent API for configuring the Kendo UI Captcha for ASP.NET MVC events.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class CaptchaEventBuilder : EventBuilder
Inheritance: objectEventBuilderCaptchaEventBuilder
Inherited Members
Constructors
Initializes a new instance of the CaptchaEventBuilder class.
public CaptchaEventBuilder(IDictionary<string, object> events)
The Captcha event handlers.
Methods
Defines the handler of the Change client-side event. Fired when users changes the input of the Captcha component.
public CaptchaEventBuilder Change(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of CaptchaEventBuilder .
Defines the handler of the Change client-side event. Fired when users changes the input of the Captcha component.
public CaptchaEventBuilder Change(string handler)
The name of the JavaScript function that will handle the Change event.
Returns:Returns the current instance of CaptchaEventBuilder .
Defines the handler of the Error client-side event. Fired when a request triggered by the component fails - can be distinguished via the type argument in the event data.
public CaptchaEventBuilder Error(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of CaptchaEventBuilder .
Defines the handler of the Error client-side event. Fired when a request triggered by the component fails - can be distinguished via the type argument in the event data.
public CaptchaEventBuilder Error(string handler)
The name of the JavaScript function that will handle the Error event.
Returns:Returns the current instance of CaptchaEventBuilder .
Defines the handler of the RequestEnd client-side event. Fired when a request to a handler is finished - can be distinguished via the type argument in the event data.
public CaptchaEventBuilder RequestEnd(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of CaptchaEventBuilder .
Defines the handler of the RequestEnd client-side event. Fired when a request to a handler is finished - can be distinguished via the type argument in the event data.
public CaptchaEventBuilder RequestEnd(string handler)
The name of the JavaScript function that will handle the RequestEnd event.
Returns:Returns the current instance of CaptchaEventBuilder .
Defines the handler of the RequestStart client-side event. Fired when the captcha makes a request to a handler - can be distinguished via the type argument in the event data.
public CaptchaEventBuilder RequestStart(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of CaptchaEventBuilder .
Defines the handler of the RequestStart client-side event. Fired when the captcha makes a request to a handler - can be distinguished via the type argument in the event data.
public CaptchaEventBuilder RequestStart(string handler)
The name of the JavaScript function that will handle the RequestStart event.
Returns:Returns the current instance of CaptchaEventBuilder .