SuperButton example (Click event handler)

Example code

//  Clicked event handler

private void submButton_Clicked(object sender, EventArgs e)
{
  Page.Response.Write("<scr"+"ipt>alert(\"submButton clicked\");</scr"+"ipt>");
}

...
<osb:SuperButton Id="submButton" runat="server" Text="Submit" SkinStyle="amazon" pathPrefix="../" isSubmit=true OnClick="submButton_Clicked" />

Submit