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"
        }
    })