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've scanned the Internet for ASP.NET controls and yours are *BY FAR* the most featured and attractive (not to mention they don't crash, unlike some others!). Building the site around your component suite gave us the competitive edge."

Shane Mitchell
University of Queensland (Australia)

Random testimonial   All testimonials