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

[Solved] Autocomplete does not handle special characters?

0 Answers 17 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Sudesh
Top achievements
Rank 1
Sudesh asked on 11 Jun 2012, 06:08 AM
Hi,

I am using Telerik Autocomplete control and trying to load on demand using WCF service.
I am trying to pull in user names from AD based on the text that has been entered. The problem is when the text contains a black slash character (in attempt to enter text of the format, domainName\UserName),  I get the error, "The requested URL returned 400 - Bad Request".

I get the same error in the evaluation copy demo for autocomplete control's on demand load feature.

The blackslash character is creating a problem while deserialization at the service side. If I enter the text with two black slashes (domainName\\UserName) it works fine. 

Is there a way to internally escape black slashes (and other special characters) so that this get handled properly on server side?

How do I resolve this problem?

Regards,
Sudesh
Tags
ComboBox
Asked by
Sudesh
Top achievements
Rank 1
Share this question
or