Is there a way to prevent collapsing?

2 posts, 0 answers
  1. Henry
    Henry avatar
    3 posts
    Member since:
    Mar 2012

    Posted 29 Aug 2012 Link to this post

    One can set it to be expanded on load as well as to not collapse on blur, but is there a way to force it to always be expanded? Various events will still collapse it and make the app look clunky. :< 

    i would like to use it like a listbox but with the filtering of a combobox (letter decoration of matched strings, etc ). I currently do it with standard asp.net listbox control and textbox control but want the rich text, etc. :>

     Thanks.
  2. Nencho
    Admin
    Nencho avatar
    1799 posts

    Posted 30 Aug 2012 Link to this post

    Hi Henry,

    You could use the OnClientDropDownClosing client-side event, which occurs before the drop-down list to close.To prevent closing of the drop down, please consider the following approach:

    <script type="text/javascript">
          function OnClientDropDownClosing(sender, eventArgs) {
              eventArgs.set_cancel(true);
           }
      </script>



    Regards,
    Nencho
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top