This is a migrated thread and some comments may be shown as answers.
Is there a way to prevent collapsing?
1 Answer 7 Views
This is a migrated thread and some comments may be shown as answers.
Henry
Top achievements
Rank 1
Henry asked on 29 Aug 2012, 05:16 PM
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.

1 Answer, 1 is accepted

Sort by
0
Nencho
Telerik team
answered on 30 Aug 2012, 07:29 AM
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.
Asked by
Henry
Top achievements
Rank 1
Answers by
Nencho
Telerik team
Share this question
or