Click here to Skip to main content
15,886,799 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Sir i have 1 page on that there are 3 dropdowns and 2 textboxes.and i have done work at selectedindex event of dropdown.and 1 more thing also on the textchanged event of textbox on that i have checked for the availability of the data in database.so when i press select data from the dropdown and after that i m pressing tab to go to the textbox but tab is not working how it can possible plz help me.........
Posted

You need to set Tabindex Property of the controls present in the form

For Eg.: set tabindex of dropdown1 as 0
then tabindex of textbox as 1
in this way to all controls set tabindex

Edit
----
Given reply check it
 
Share this answer
 
v2
Comments
Umashankar Yadav 3-Nov-11 2:09am    
can we send snapshot of our page to u?
Umashankar Yadav 3-Nov-11 2:16am    
actually at my page there are 2 dropdownlist and dropdown's tabbin gis working properly.but at the selectedindex event of second dropdown i m using gridview in which data is showing.after that i m pressing tab thn its not coming in that textbox,cursor is again cmng in the 2nd dropdown.why so?
i have given tabindex 0 to 1st dropdown after that 1 to scnd dropdown and 2 to first textbox after that 3 to scond textbox.
P.Salini 3-Nov-11 2:57am    
Since postback is occuring your cursor is pointing dropdown1 after postback
so you need to write the line
Textbox1.Focus();
in dropdown2 selected index changed event.
Umashankar Yadav 3-Nov-11 2:19am    
reply
Umashankar Yadav 3-Nov-11 5:08am    
thnx its done
Use TabIndex property of controls
 
Share this answer
 
Comments
Umashankar Yadav 3-Nov-11 2:19am    
actually at my page there are 2 dropdownlist and dropdown's tabbin gis working properly.but at the selectedindex event of second dropdown i m using gridview in which data is showing.after that i m pressing tab thn its not coming in that textbox,cursor is again cmng in the 2nd dropdown.why so?
i have given tabindex 0 to 1st dropdown after that 1 to scnd dropdown and 2 to first textbox after that 3 to scond textbox.

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