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

"I first just wanted to take this opportunity to compliment the quality of product you offer, and for a great price! I've been using your products for about two weeks now and can't tell you how much time and effort you've saved me!"

Keith Howes
Symantec Corporation

Random testimonial   All testimonials