Hi all
I have eight textboxes in an itemscontrol. And on pressing tab cursor should move from one textbox to another.
How can I do that? Please help.
Thanks in advance
Loading
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Ankit NandekarRank #703 · 3.4K reputationPosted Apr 20, 2011, 3:48 AM EDT
Nivedita72 reputationPosted Apr 20, 2011, 3:52 AM EDT
Thanks for your prompt reply. But i cant find Taborder property.:(
Thanks
Ankit NandekarRank #703 · 3.4K reputationPosted Apr 20, 2011, 3:58 AM EDT
Mayur GujrathiRank #666 · 3.6K reputationPosted Apr 20, 2011, 4:02 AM EDT
Go to view and you can see tab order tab there set tab order as you want or you can also move between controls on enter click
follow this link
http://www.c-sharpcorner.com/Blogs/4749/enter-instead-of-tab.aspx
Nivedita72 reputationPosted Apr 20, 2011, 4:12 AM EDT
KeyboardNavigation.TabNavigation="Continue"
is not working for me...
I cant find the tab order tab ...:(
I have also written lost focus event for those textboxes...does that anything to do with the properties failing to move with tab.
Thanks in advance
Mayur GujrathiRank #666 · 3.6K reputationPosted Apr 20, 2011, 4:23 AM EDT
Soft CornerRank #1,221 · 1.5K reputationPosted Apr 20, 2011, 4:26 AM EDT
Try to set TabIndex property for each textbox .. this will create the order of tab
Mayur GujrathiRank #666 · 3.6K reputationPosted Apr 20, 2011, 4:28 AM EDT
Nivedita72 reputationPosted Apr 20, 2011, 4:31 AM EDT
Thanks mayur for the screenshot...but its not there in my view.
ANd mine is a dynamic series of textboxes which is inside a grid...so i cant declare tab index for each text box...
Please help
Thanks in advance
Soft CornerRank #1,221 · 1.5K reputationPosted Apr 20, 2011, 4:35 AM EDT
Nivedita72 reputationPosted Apr 20, 2011, 4:40 AM EDT
Mayur GujrathiRank #666 · 3.6K reputationPosted Apr 20, 2011, 4:45 AM EDT
Nivedita72 reputationPosted Apr 20, 2011, 4:58 AM EDT
Sam HobbsRank #107 · 20.5K reputationPosted Apr 20, 2011, 12:31 PM EDT
Suthish NairRank #92 · 22.8K reputationPosted Apr 20, 2011, 12:39 PM EDT
Sam HobbsRank #107 · 20.5K reputationPosted Apr 20, 2011, 7:16 PM EDT
Nivedita72 reputationPosted Apr 26, 2011, 4:48 AM EDT
The update is that I made all the textboxes static and it solved my problem...
Thnanks Again
Suthish NairRank #92 · 22.8K reputationPosted Apr 26, 2011, 5:16 AM EDT
Mayur GujrathiRank #666 · 3.6K reputationPosted Apr 26, 2011, 5:32 AM EDT
Nivedita72 reputationPosted Apr 26, 2011, 5:33 AM EDT
Earlier I was dynamically generating the textboxes and now am declaring the textboxes in the Xaml only and I dont have to do nothin for tab movement.
Thanks
Sam HobbsRank #107 · 20.5K reputationPosted Apr 26, 2011, 1:22 PM EDT
krishna kumar dubey71 reputationPosted May 2, 2011, 10:51 PM EDT