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

Syntax for Dropdown selected value in GRID EDIT EXTERNAL TEMPLATE


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()), "--")

1 Reply

RS Renjith Singh Rajendran Syncfusion Team September 19, 2017 12:36 PM UTC

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. 

Live Chat Icon For mobile
Up arrow icon