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

RadComboBox ajax client side encoding

3 Answers 91 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Jan
Top achievements
Rank 1
Jan asked on 10 Nov 2011, 05:19 PM
Im facing a problem with encoding of RadComboBox.


Before postback in Viewstate I have: 


 
  ctl00_plhBody_ctrRegistration_cbBoss_ClientState:{"logEntries":[],"value":"20","text":"Андреев","enabled":true}



And after postback there is:


 
  {"logEntries":[],"value":"20","text":"&#1040;&#1085;&#1076;&#1088;&#1077;&#1077;&#1074;","enabled":true}<br>


And then application crashes. Its in updatePanel, and unfortunately I dont have error message (its on productioin right now and Ive got limited access to logs).


Thanks for any suggestions

3 Answers, 1 is accepted

Sort by
0
Simon
Telerik team
answered on 15 Nov 2011, 06:02 PM
Hello Jan,

Indeed there is something wrong with the character encoding, however we are currently unsure whether it is a problem of the control - an input element exhibits similar behavior as well.

What is the charset of your page?

Kind regards,
Simon
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
Jan
Top achievements
Rank 1
answered on 15 Nov 2011, 06:04 PM
Hello,

Thanks for reply.

<meta charset="UTF-8">

regards
0
Simon
Telerik team
answered on 25 Nov 2011, 05:38 PM
Hi Jan,

Thank you for the clarification.

I created a simple page, which has its ResponseEncoding page directive property set to 'utf-8', where RadComboBox works as expected. I tested with the latest version of Telerik.Web.UI in ASP.NET 4.0 (with 4.0 builds of TWU) and 3.5 (with 3.5 builds of TWU).

Can you please run the attached page on your side and let me know if you can break it? What is different in your setup?

Best wishes,
Simon
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
ComboBox
Asked by
Jan
Top achievements
Rank 1
Answers by
Simon
Telerik team
Jan
Top achievements
Rank 1
Share this question
or