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 : Nov 16th 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:

Created:

Updated:

Platform:

Replies:

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

Hi,

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, 


Regards, 
Renjith Singh Rajendran. 


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

;