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.
Unfortunately, activation email could not send to your email. Please try again.

Scrollbars with MultiSelectionDropDown (Version=6.102.0.34)

Thread ID:

Created:

Updated:

Platform:

Replies:

72075 Feb 29,2008 03:43 PM Mar 3,2008 11:00 AM ASP.NET Web Forms (Classic) 2
loading
Tags: Tools
Harry Reed
Asked On February 29, 2008 03:43 PM

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?



Administrator [Syncfusion]
Replied On March 1, 2008 01:27 AM

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.




Harry Reed
Replied On March 3, 2008 11:00 AM

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


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;