This is a migrated thread and some comments may be shown as answers.

Single Quote in AutoCompleteBoxEntry

2 Answers 47 Views
AutoCompleteBox
This is a migrated thread and some comments may be shown as answers.
Caleb Sandfort
Top achievements
Rank 1
Caleb Sandfort asked on 10 Apr 2014, 10:18 PM
Hi

I have a correspondence form that I am using a RadAutoCompleteBox for specifying recipients.  When the page initially loads I add the sender to the To RadAutoCompleteBox entries collection in the form of an AutoCompleteBoxEntry.  I'm using an email address for both the text and the value of the AutoCompleteBoxEntry.  If the email address has a single quote in it, the To RadAutoCompleteBox shows as empty.  However, if I then use the auto complete functionality I am able to successfully add the email with the single quote in it.  The RadAutoCompleteBox uses a webservice.

Any ideas?

2 Answers, 1 is accepted

Sort by
0
Accepted
Aneliya Petkova
Telerik team
answered on 11 Apr 2014, 01:23 PM
Hello Caleb,

Please find attached a sample project I had prepared for you, using RadAutoCompleteBox with WebService binding and adding an email entry with single quote on the client.

Could you please modify the page and send it us for further investigation, in order to help us understand the issue you are experiencing.

I will be waiting for your reply.

Regards,
Aneliya Petkova
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Caleb Sandfort
Top achievements
Rank 1
answered on 11 Apr 2014, 03:56 PM
Hi Aneliya

Thanks for the response.  I was able to fix my issue. I had some js in the onClientEntryAdding handler that was causing the entry to not be added.
Tags
AutoCompleteBox
Asked by
Caleb Sandfort
Top achievements
Rank 1
Answers by
Aneliya Petkova
Telerik team
Caleb Sandfort
Top achievements
Rank 1
Share this question
or