Set Focus to a RadDropDownList?

2 posts, 0 answers
  1. Xorcist
    Xorcist avatar
    92 posts
    Member since:
    Apr 2009

    Posted 27 May 2013 Link to this post

    What is the proper way to set focus to a RadDropDownList using the client-side API?
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 27 May 2013 Link to this post

    Hi,

    Please try the following JavaScript.

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

    Thanks,
    Shinu.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top