AspdotnetCodes.com
Search
Articles
Books
Resources
Asp.Net News
Downloads
Free Tech Magazines
Asp.Net Web Hosting
Archives
Softwares
Newsletter
Suggest Us
Link to Us
Feeds Subscription
Articles
Questions & Answers
Tips & Tricks
 individual Gridview cell textboxes with keybordevents
Posted by rajitha on  11/2/2007 12:27:38 AM Category: ADO.NET
Add to my favorites
Email to friend
i have a Gridview.on that Grid i can Edit the cells individually with the help of mouse.First click on
the individual cell be mouseclick.next click onwards ,i have to use tabspace,up & down arrow buttons to move in to other textboxes.

Post Your Reply Post New Question

 Viewer's Reply
Use Tab Index
Answered By Moderator1 on 11/2/2007 9:29:59 AM
Hi,

We suggest for web applications it is better to use tab system to navigate between Textbox controls as a custom. You can set the TabIndex property for every textbox, it has to start with minimim index 1. And 1 more information for you, when click edit button, you can set Focus to the first Textbox as follows
TextBox1.Focus()

Hope this answer will help you. Thanks.
 
Post Your Reply If you still have problem, post it again under this reply for better response.

 
Sponsored by
Windows 8: 50 Questions and Answers You Need to Make a Decision (Normally $9.95)
Take Advantage of Oracle's 2 Day DBA Course
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!