ASP.NET MVC Interface Controls - Image Button -
Server-Side Events





Use the Click event to detect when the button is pressed.
C#
Html.Obout(new OboutImageButton("OboutImageButton1") 
{
    ImageUrl = "~/Content/Obout/Interface/images/buy_normal.gif",
    ImageUrl_Over = "~/Content/Obout/Interface/images/buy_over.gif",
    ImageUrl_Focused = "~/Content/Obout/Interface/images/buy_focused.gif",
    ImageUrl_Pressed = "~/Content/Obout/Interface/images/buy_pressed.gif",
    OnClick = "Interface/ImgBtnEventsServer_Click"
})

"Thank you very much for your support. It is actually quite nice to receive lightning fast responses especially when one is on the other side of the world."

Clinton Morrison

Random testimonial   All testimonials