skip navigation
Telerik UI for Silverlight
Product Bundles
DevCraft
All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
NEW
: Design Kits for Figma
Online Training
Document Processing Library
Embedded Reporting for web and desktop
Web
Kendo UI
UI for jQuery
UI for Angular
UI for React
UI for Vue
UI for Blazor
UI for ASP.NET Core
UI for ASP.NET MVC
UI for ASP.NET AJAX
Mobile
UI for .NET MAUI
UI for Xamarin
Document Management
Telerik Document Processing
Desktop
UI for .NET MAUI
UI for WinUI
UI for WinForms
UI for WPF
Reporting & Mocking
Telerik Reporting
Telerik Report Server
Telerik JustMock
Automated Testing
Test Studio
Test Studio Dev Edition
CMS
Sitefinity
UI/UX Tools
ThemeBuilder
Design System Kit
Debugging
Fiddler
Fiddler Everywhere
Fiddler Classic
Fiddler Jam
FiddlerCap
FiddlerCore
Free Tools
VB.NET to C# Converter
Testing Framework
View all products
Overview
Docs & Support
Support and Learning
Support Resources
Docs
Demos
Forums
Videos
Release History
Submit a Ticket
Shopping cart
Login
Contact Us
Contact Us
close mobile menu
Telerik Forums
/
UI for Silverlight
This is a migrated thread and some comments may be shown as answers.
cursor position in autocompletebox
2 Answers
173 Views
AutoCompleteBox
This is a migrated thread and some comments may be shown as answers.
Abhi
Top achievements
Rank 1
Abhi
asked on
25 Dec 2012,
07:22 AM
Hi,
When I select an item from the autocomplete box, the text displayed in the box is the last portion of the text. I would like to display the first portion instead.(i.e,...pointing the cursor to the start of the text in mvvm pattern)
Add a comment
Submit comment
Cancel
2 Answers
, 1 is accepted
Sort by
Score
Date
0
sanjay
Top achievements
Rank 1
answered on
31 Dec 2012,
11:49 AM
Hi Abhi
Find the textbox of autocompletebox through visual tree helper.
Textbox txt=
VisualTreeHelper.GetChild(VisualTreeHelper.GetChild("AutoCompleteBoxName", 0), 0) as TextBox;
txt.select(0,0) wii place cursor position at first letter always.
http://stackoverflow.com/questions/1049657/how-to-access-the-textbox-in-a-sl3-autocompletebox
Regards
Sanjay
Add a comment
Submit comment
Cancel
0
Abhi
Top achievements
Rank 1
answered on
02 Jan 2013,
06:42 AM
thanks sanjay,
I got it
Add a comment
Submit comment
Cancel
Answer this question
Drag and drop files here or
browse
to attach...
Browse
for files to attach...
Supported file types: PNG, JPG, JPEG, ZIP, RAR, TXT. Max total file size - 20MB.
Submit answer
Cancel
Tags
AutoCompleteBox
Asked by
Abhi
Top achievements
Rank 1
Answers by
sanjay
Top achievements
Rank 1
Abhi
Top achievements
Rank 1
Share this question
or
Copy link