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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Error on value selection using DropDownList

Thread ID:





146330 Jul 31,2019 02:37 PM UTC Aug 1,2019 01:07 PM UTC ASP.NET Web Forms 1
Tags: DropDownList
Matt Broich
Asked On July 31, 2019 02:37 PM UTC


I am receiving a very interesting error on a client-side drop down list: Uncaught Error: Syntax error, unrecognized expression: [id='#F-2 (501' - 700')']. Currently I am not using any jQuery nor JavaScript; is there a way to prevent jQuery from using the selected value as an ID?

Any insight would be helpful.

Thank you!
Matt Broich

Ashokkumar Balasubramanian [Syncfusion]
Replied On August 1, 2019 01:07 PM UTC

Hi Matt Broich, 
Good day to you. 
In our DropDownList component, we have set id for selected element based on the selected value. If you need to select the text not to be set as id of selected element, you can set different text and value fields for DropDownList. So that text field will be displayed in popup for selection and value will be set as id of selected element. we were unable to reproduce the issue in our end kindly check with our sample. 
Please check the above sample and if issue persists, kindly modify the above sample to replicate the issue (if possible). Else share us your code snippet in which you get this issue. 
Ashokkumar B. 


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

Live Chat Icon For mobile
Live Chat Icon