Hi All,
I want to display an underline on a character of Button control, I am using that character as a Access Key for that button.
please help me out to solve this requirement.
for example i have one submit button and i want to display character 'S' as underlined
Submit


Manish Kumar ChoudharyRank #339 · 7.4K reputationPosted Mar 30, 2015, 8:58 PM EDT
Vikram AgrawalRank #4,713 · 329 reputationPosted Mar 30, 2015, 9:06 PM EDT
Hi Manish,
I am using asp.net web application.
In Windows Forms it is very simple, we need to prefix that character with '&' but it is not working in web application.
Please help me to do this.
Thanks
Manish Kumar ChoudharyRank #339 · 7.4K reputationPosted Mar 30, 2015, 9:08 PM EDT
Go through following links it will help you.
http://www.codeproject.com/Articles/82246/JavaScript-and-Shortcut-Keys
http://aspdotnetcodebook.blogspot.nl/2008/03/how-to-create-shortcut-key-in-aspnet.html
Vikram AgrawalRank #4,713 · 329 reputationPosted Mar 30, 2015, 9:18 PM EDT
Hi Manish,
thank you for your response. but the link you have suggested is only for setting the access key not for displaying underscore on specified character.
Please suggest any other solutions
Manish Kumar ChoudharyRank #339 · 7.4K reputationPosted Mar 30, 2015, 9:22 PM EDT
http://stackoverflow.com/questions/8719943/html-character-code-to-underline-next-character
like