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