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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Syntax for Dropdown selected value in GRID EDIT EXTERNAL TEMPLATE

Thread ID:





132728 Sep 18,2017 01:30 PM UTC Sep 19,2017 12:36 PM UTC ASP.NET MVC 1
Tags: Grid
Kalyan Gurram
Asked On September 18, 2017 01:30 PM UTC


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


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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