jQuery Events Log
Tick the Show & Render Events checkbox to start showing the events (and click Update).
Here are the methods available for the jQuery UI control, have a click on the buttons and see how the behaviour of the control changes.
Below is the code required to use the options you have selected above.
<% Html.CreateButton("btn", "Fluqi!") .Events .SetCreateEvent("createEvent(event, ui);") .SetClickEvent("clickEvent(event, ui);") .Finish() .Render(); %>
Which produces the following HTML mark-up.
The HTML for the PushButton demo has been produced with normal HTML.