This is a migrated thread and some comments may be shown as answers.

RadCombobox: SelectAllTextEvent query

1 Answer 90 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Maulik Patel
Top achievements
Rank 1
Maulik Patel asked on 04 Mar 2011, 02:43 PM
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.

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 10 Mar 2011, 08:41 AM
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!
Tags
General Discussions
Asked by
Maulik Patel
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or