RadCombobox: SelectAllTextEvent query

2 posts, 0 answers
  1. Maulik Patel
    Maulik Patel avatar
    36 posts
    Member since:
    Mar 2010

    Posted 04 Mar 2011 Link to this post

    Hi,

    I am using RadCombobox. I need to achieve the following two things:

    1. Set the alignment from left to right for the text .
    2. Select the text in the combobox on focus.

    For the first requirement, I am aware that I need to set SelectedAllTextEvent = None. For the second requirement, I would need to set the same property to GotFocus.

    How do i fulfil both the requirements?

    Quick help will be highly appreciated!

    Thanks.
  2. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 10 Mar 2011 Link to this post

    Hi Maulik Patel,

    I'm afraid that you cannot fulfill both requirements at the same time. Anyway, you can change the property on server like this:

    comboBox.SelectAllTextEvent = Telerik.Windows.Controls.SelectAllTextEvents.GotFocus;

    All the best,
    Yana
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
  3. DevCraft banner
Back to Top