Friday, April 13, 2007

ASP.NET ACESS KEY PROPERTY-SHORT KEY FOR FOCUS

In the desktop windows application. You can easily create short key which moves current cursor to a particular control. Now with ASP.NET Access key property you can also create short key in
web application.

For example you have a text box called txtName write name of the candidate. So go the property window by pressing f4. And goto access key property and write N . That's it you have created a short cut key for the that text box.

Compile the source and code and view the page in a browser. Now you can set focus on txtname text box via pressing ALT+N.

Happy Programming....




Share:

1 comment:

  1. hi
    I want to use Page Down or "Ctrl + Insert" control for a button in a web application ( C# ) but i don't how to use shotcut key?
    can you help me?
    thanks.

    ReplyDelete

Your feedback is very important to me. Please provide your feedback via putting comments.

Support this blog-Buy me a coffee

Buy me a coffeeBuy me a coffee
Search This Blog
Subscribe to my blog

  

My Mvp Profile
Follow us on facebook
Blog Archive
Total Pageviews