ASP.NET MVC Interface Controls - Image Button -
Enable specific states


Enabled states: Normal, Over, Focused, Pressed


Enabled states: Normal, Over


Enabled states: Normal, Focused



You can enable the specific states of the button, using the ImageUrl, ImageUrl_Over, ImageUrl_Focused and ImageUrl_Pressed properties.
C#
Html.Obout(new OboutImageButton("OboutImageButton1") 
{
    ImageUrl = "~/Content/Obout/Interface/images/ok_normal.gif",
    ImageUrl_Over = "~/Content/Obout/Interface/images/ok_over.gif",
    ImageUrl_Focused = "~/Content/Obout/Interface/images/ok_focused.gif",
    ImageUrl_Pressed = "~/Content/Obout/Interface/images/ok_pressed.gif"            
})