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.

Get Selected item values from Dropdown list

Thread ID:

Created:

Updated:

Platform:

Replies:

124702 Jun 23,2016 08:04 AM Jun 24,2016 07:56 AM ASP.NET MVC 1
loading
Tags: DropDownList
vishnupranay
Asked On June 23, 2016 08:04 AM

Hello Pauls,

How can I copy the the selected items from dropdown_list to textarea
dropdown

Thanks in Advance... )

Dhivyalakshmi Thirumurugan [Syncfusion]
Replied On June 24, 2016 07:56 AM

Hi Vishnupranay, 

Thank you for contacting Syncfusion support. 

We can achieve you requirement by using  checkChange event which is used to get the value of checked items and we can pass this as the value of textarea. Please find the code below. 

    @Html.EJ().DropDownList("skillsets").Datasource((IEnumerable<SyncfusionMvcApplication2.Controllers.HomeController.Languages>)ViewBag.datasource).DropDownListFields(f=> f.Text("text")).ShowCheckbox(true).ClientSideEvents(e => e.CheckChange("onCheck")) 

<script>   

function onCheck(args) { 

        txt1.value = args.text; 

    } 

</script> 

We have prepared a sample as per your requirement which can be downloaded from the below link. 


Please let us know if you need any further assistance. 

Regards, 
Dhivyalakshmi. 


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.

;