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.
Syncfusion Feedback

How to select single item only at a time in MultiSelectDropDown

Thread ID:

Created:

Updated:

Platform:

Replies:

102618 Feb 15,2012 02:39 PM UTC Feb 16,2012 10:22 AM UTC ASP.NET Web Forms (Classic) 1
loading
Tags: Tools
Luqman
Asked On February 15, 2012 02:39 PM UTC

i am working on multiselect dropdown and i want to select only one item at a time..so i want to remove or hide the check box in it...
how can i do this? please help me..

and also plz guide me ,how to use generic drop down in c# .....i want to assign datasource to generic drop down in my code but generic dropdown doesnot show datasource..
plz help me...


with Regards,
Luqman



Meena [Syncfusion]
Replied On February 16, 2012 10:22 AM UTC

Hi Luqman,

Thanks for using Syncfusion products.

*Query1: I want to select only one item at a time. so I want to remove or hide the check box in it...
how can I do this?

You requirement of removing the checkboxes from the list could be done as a workaround using the following code.


[Designer]
AutoFormat="Office2007 Blue" ClientObjectID="ddc" ClientSideOnPopupShown="PopUp()" >

[Script]
function PopUp() {
$("table[id*=MultiSelectionDropDown1_checklist]").find('input[type*=check]').css("visibility", "hidden");
}



In the above coding, the function PopUp() is called when the MultiSelectDropDown is clicked from the clientside.

We have also created a simple sample with this and it can be downloaded from the below link.

MultiSelect.zip

*Query2: I want to assign datasource to generic drop down in my code but generic dropdown does not show datasource.

We are sorry to let you know that we do not have support for DataBinding in GenericDropDown currently.

Please let us know if you have any other concerns.

Regards,
Meena




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.

Warning Icon 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.Close Icon

;