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

I have grid that will be partially editable. I mean there are 10 columns in my grid. Column number 2 to 6 will be editable rest of the column will be uneditable.

I need to implement a functionality where after editing the 6th column cell in a particular row the focus will shift to the next row 2 column. Rest of the column will not have focus.

Please help.
Thank you
Posted
Comments
So, what have you tried?
syed shanu 15-Sep-13 22:50pm    
Chk like this.
TextBox tb = (TextBox)GridView1.Rows[newrowindex].Cells[2].Controls[0];
tb.Focus();

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