Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
135
Expand on focus
posted

Hello

The DropDown expand when click the arrow, but Is it possible expand the drop down when the text get the focus? like in the asp.net dropdownlist control. Maybe is it possible with javascrip but I don't know how.

 I use the net advantage 2010 2.

For your help thanks.

Parents
No Data
Reply
  • 695
    Suggested Answer
    posted

    Hello,

    Yes, it is possible. You can attach to focus client-side event and then call openDropDown function.

     <script type="text/javascript">

      function FocusHandler(sender, eventargs) {
               sender.openDropDown();

            }
     </script>

    <ig:WebDropDown ID="WebDropDown1" runat="server">
     <ClientEvents Focus="FocusHandler" />
     </ig:WebDropDown>

    Regards,
    Nikolai Dimitrov

Children