The Problem
The jQuery framework, applies the icons
only to controls of type <button>, and not for types <input type=”submit”>. The Asp.Net button gets rendered to the page as type <input type=”submit”>, and not as <button> elements, hence icons are
not applied to <asp:Button>.
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