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:

Created:

Updated:

Platform:

Replies:

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

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


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.

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.

;