In the post jQuery UI Buttons with Icons, we have seen oh how to create
a simple jQuery UI Button with Icons, here we shall see on how to create a
jQuery UI Button with icons for an Asp.net button.
The Asp.Net button gets rendered to the
page as type <input type=”submit”>, but with this type the jQuery button
icons will not get displayed properly, the jQuery Button icon gets displayed
for <button> tags, so what’s the solution.
There are 2 possible solutions to set icons
to an Asp.Net button
1. Using a Proxy/Hidden Asp.net button to
display jQuery button icons.
2. Converting Submit types to Button types
to display jQuery button icons.
No comments:
Post a Comment