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.

Syntax for Dropdown selected value in GRID EDIT EXTERNAL TEMPLATE

Thread ID:





132728 Sep 18,2017 09:30 AM Sep 19,2017 08:36 AM ASP.NET MVC 1
Tags: Grid
Kalyan Gurram
Asked On September 18, 2017 09:30 AM


What is the syntax for selected value in dropdown .
i have written following,but it didnt work
@Html.DropDownList("XYZ",new SelectList(ViewBag.STATUS, "CODE", "DESCRIPTION","{{:XYZ}}".ToString()), "--")

Renjith Singh Rajendran [Syncfusion]
Replied On September 19, 2017 08:36 AM

Hi Kalyan, 

Thanks for contacting Syncfusion support. 

We have analyzed your query. We suggest you to use the val() method of jQuery in Dropdown element to retrieve the value. Please refer the following stackoverflow link below, 

Renjith Singh Rajendran. 


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.