How can move the cursor to the end of text

4 posts, 0 answers
  1. c mutex
    c mutex avatar
    5 posts
    Member since:
    Jan 2010

    Posted 23 Aug 2010 Link to this post

    use ComboBoxStyle.DropDown
    After select one item on combobox, then input through keyboard,  the cursor auto move the the begin of text. how to move the cursor to the end of the text? thanks
  2. Boryana
    Admin
    Boryana avatar
    330 posts

    Posted 26 Aug 2010 Link to this post

    Hello c mutex,

    Thank you for contacting us.

    I am afraid I do not understand your scenario completely. Here are the steps I followed:
    1. Set the DropDownStyle property to DropDown and populate the RadComboBox with items.
    2. Select the first item (ComboBoxItem1) from the dropdown
    3. Once ComboBoxItem1 is selected, it appears in the editor and the whole text is selected, so that when you start typing, the selected text is substituted with the keyboard input.
    If this is the behavior you would like to customize, please note that internally we are using a standard TextBox. The default behavior of this control does not allow such modifications.

    However, if this is not your case, please provide more details about your scenario. In case you have performed any customizations of your RadComboBox instance, please send us code snippets and detailed explanation.
     
    Let me know if I can assist you further.

    Best wishes,
    Boryana
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. UI for WinForms is Visual Studio 2017 Ready
  4. pavithra
    pavithra avatar
    1 posts
    Member since:
    Aug 2010

    Posted 28 Aug 2010 Link to this post

    I'm using ASP.NET. I have the script set up to move the focus to a particular control (textbox) when the page posts back. However, I want the cursor to be placed at the end of the text that is currently in the textbox. Right now, the cursor is always located at the beginning of the textbox. Is there a way to place the cursor at the end of the textbox? Thanks for any and all help.
  5. Nikolay
    Admin
    Nikolay avatar
    1803 posts

    Posted 30 Aug 2010 Link to this post

    Hi pavithra,

    Your question does not seem to be related to RadControls for ASP.NET directly. If your question concerns the generall ASP.NET principles and controls, please address your question to the appropriate MSDN forums.

    If, however, your question concerns RadControls for ASP.NET, please post your enquiry in the appropriate Telerik ASP.NET section. This will allow the those who are interested in your topic to find the answer more easily.

    Thank you for your understanding.

    Greetings,
    Nikolay
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top