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.

display selected value instead of WatermarkText

Thread ID:

Created:

Updated:

Platform:

Replies:

128200 Jan 7,2017 09:19 AM Jan 9,2017 07:58 AM ASP.NET MVC 1
loading
Tags: DropDownList
John
Asked On January 7, 2017 09:19 AM

Hello everybody!

through the model I get ID (for example 12) of my selected DDL element value, but the control does not display the selected element, and displays the WatermarkText.

how display selected element text instead of WatermarkText?


Gopi Govindasamy [Syncfusion]
Replied On January 9, 2017 07:58 AM

Hi John, 

Thanks for using Syncfusion Products. 

We are not able to reproduced the reported issue for “display selected value instead of WatermarkText”. We have prepared sample for your requirement for selected item displayed in the dropdownlist. We have attached sample below link.  

<code> 
 
var obj = $("#bikeList").data("ejDropDownList"); 
obj.setSelectedText("Discover"); 

</code> 

  
Please provide us with an issue reproducing sample along with replication steps. It will help us isolate the root cause and provide a solution. 
 
Regards, 
Gopi G. 


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.

;