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

Set Focus to a RadDropDownList?

1 Answer 182 Views
DropDownList
This is a migrated thread and some comments may be shown as answers.
Xorcist
Top achievements
Rank 1
Xorcist asked on 27 May 2013, 02:03 PM
What is the proper way to set focus to a RadDropDownList using the client-side API?

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 28 May 2013, 04:10 AM
Hi,

Please try the following JavaScript.

JavaScript:
var raddropdownlist= $find('<%=RadDropDownList1.ClientID %>');
raddropdownlist._element.focus();

Thanks,
Shinu.
Tags
DropDownList
Asked by
Xorcist
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or