Click here to Skip to main content
15,885,173 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello,

can you please tell me how to open new page on dropdownlist focus/select control when user click f2 key in web base .suppose i developed a web base application ,having two pages country and state master .Now on state Master page their are two control textbox and dropdownlist ,so when user select dropdownlist control and press f2 then the country master page should open without closing and affecting the value on state master page, same as windows form
Posted
Updated 31-Aug-13 0:26am
v3

hi aarti

http://www.google.co.in/#q=asp%20net%20keyboard%20shortcuts[^]

JavaScript
apply shortcuts first then go for the event when you get f2 key then
 write

window.open('your url','if you want to open in blank tab');

regards...:)
 
Share this answer
 
v2
Comments
Ostwal Aarti 31-Aug-13 9:04am    
How can I apply keyboard shortcuts to my web page please provide sample
Dholakiya Ankit 1-Sep-13 23:19pm    
http://www.dotnetcurry.com/ShowArticle.aspx?ID=91
Use a library such as this: http://www.stepanreznikov.com/js-shortcuts/[^] to apply shortcuts.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900