We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Scrollbars with MultiSelectionDropDown (Version=6.102.0.34)

Hi, I am attempting to use a MultiSelectionDropDown control under VS2008/NET 3.5/AJAX. The problem I'm having is that my list of items can be rather large (>100) and without vertical scrollbars the dropdown list looks really bad having so many choices. Is there a way to add horizontal/vertical scrollbars to this control. I tried placing the control in a
but to no avail. Can this be done?



2 Replies

AD Administrator Syncfusion Team March 1, 2008 06:27 AM UTC

Hi Neil,

Thank you for your patience.

Issue 1: Scrollbars with MultiSelectionDropDown

Yes . You can able to add the scroll bar to the MultiSelectionDropDown popup by using the below code snippet :



[.aspx]

$style type="text/css">

.Mutliselectionstyle
{
overflow-y:Scroll;
}
$/style>

$cc1:MultiSelectionDropDown ID="MultiSelectionDropDown1" runat="server" PopupCssClass="Mutliselectionstyle" PopupHeight="200px">


Note : Please note that we are used '$' instead of '<'

Please refer the sample in the below link which illustrates the above:

http://websamples.syncfusion.com/samples/Tools.Web/6.1.0.34/72075/main.htm

Please try running the above sample and let me know if this helps.

Regards,
Vishnu.





HR Harry Reed March 3, 2008 04:00 PM UTC

Yes, that worked very well. Thank you.

One question. I had to put the style declaration in my .aspx page rather than my StyleShet.css file in order to get it to work. Any idea why?

Thanks,
Harry Reed


Loader.
Live Chat Icon For mobile
Up arrow icon