RadComboBox ajax client side encoding

4 posts, 0 answers
  1. Jan
    Jan avatar
    2 posts
    Member since:
    Nov 2011

    Posted 10 Nov 2011 Link to this post

    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
  2. Simon
    Admin
    Simon avatar
    2281 posts

    Posted 15 Nov 2011 Link to this post

    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
  3. Jan
    Jan avatar
    2 posts
    Member since:
    Nov 2011

    Posted 15 Nov 2011 Link to this post

    Hello,

    Thanks for reply.

    <meta charset="UTF-8">

    regards
  4. Simon
    Admin
    Simon avatar
    2281 posts

    Posted 25 Nov 2011 Link to this post

    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
Back to Top