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

Setting Focus to a Rad Combo Box

1 Answer 73 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
mary cappello
Top achievements
Rank 1
mary cappello asked on 05 Aug 2008, 06:23 PM
Good Day:

Does anyone know how to set the focus to a RadComboBox in Code behind?

What I'm trying to do is :

RadAjaxPanel2.FocusControl(this.rcbCounty.ClientID);

I know with the Calendar control you must do:

RadAjaxPanel2.FocusControl(this.calLoanOrigDate.DateInput.ClientID + "_text");

I would appreciate any help I can get with this.

Mary.

1 Answer, 1 is accepted

Sort by
0
Rosi
Telerik team
answered on 06 Aug 2008, 06:39 AM
Hello Mary,

You can use the following code:

RadAjaxPanel2.FocusControl(this.RadComboBox1.ClientID + "_Input"); 


Regards,
Rosi
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
ComboBox
Asked by
mary cappello
Top achievements
Rank 1
Answers by
Rosi
Telerik team
Share this question
or