ASP.NET MVC Interface Controls - Checkbox - Client-Side Events


Select Me!





The Checkbox control exposes several client-side events:
OnCheckedChanged, OnClick, OnFocus, OnBlur.
C#
 
    Html.Obout(new OboutCheckBox("OboutCheckBox1") 
    { 
        ClientSideEvents = new OboutCheckBoxClientSideEvents()
        {
           OnCheckedChanged = "onCheckedChanged",
           OnBlur = "onBlur",
           OnClick = "onClick",
           OnFocus = "onFocus"
        }
    })
    

"I really appreciate the way you helped and moreover the help came in such an electrifying speed.. Cool. Keep up the good work !!"

Atanu
Rebaca Technologies Pvt. Ltd.

Random testimonial   All testimonials