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

Dropdown list inconsistent when using < or &rt;

Thread ID:





120203 Sep 10,2015 10:35 AM UTC Sep 11,2015 01:06 PM UTC ASP.NET MVC 1
Tags: DropDownList
Robert David
Asked On September 10, 2015 10:35 AM UTC

Hello, I'm dealing with an issue where the text that is displayed in the contents of the dropdown list do not match the selected value when the content is a html tag. 
The list is generated through an API call, we originaly did not manipulate the entries in anyway so when the user directly input html they had results simmilar to entries 0 and 2
After sanitising the angle brackets to the character codes we have results like entries 1 and 3,

Is it possible to have the text that is displayed in the top box of the dropdown match the text that is displayed in the list?

I've attached a JSplayground to better domonstrate the issue.

Francis Paul Antony Raj [Syncfusion]
Replied On September 11, 2015 01:06 PM UTC

Hi Robert,

Sorry for the inconvenience caused.

We are able to reproduce the reported issue (“text displayed in dropdownlist is not matched with the items in drodownlist”). A support incident to track the status of this issue has been created under your account. Please log on to our support website to check for further updates.



Francis Paul A


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