Showing posts with label characters. Show all posts
Showing posts with label characters. Show all posts

Saturday, March 24, 2012

UpdatePanel and "foreign" characters

Hi!

I'm using an UpdatePanel with a DataList inside and a Trigger that updates the panel.

In Explorer no updates are shown if the datalist contains swedish characters ( ?, ? or ?), the trigger works but the "old" content is still shown. This works perfectly fine in FireFox.

Any suggestions?

/Jovan

I tried to simulate this and it appears to be working okay. What I did was have both FormView and DataList for a table within the same UpdatePanel. I've also handled the ItemUpdated event for the FormView and invoked DataList.DataBind() method to refresh the DataList content. Using your swedish characters for one of the FormView updates, it gets reflected to the DataList. I'm using IE version 6.0.

updatepanel and cyrillic encoding problem

Hi!

I'm facing the next problem now:

All cyryllic characters (my site has 'windows-1251' codepage) within textboxes, that are located in updatepanel control turn into abracadabra like this - "Р?Р'Р'Р"Р" when I press any button inside update panel, which cause asynchronous postback. I have obviously defined codepage in web.config

<

globalizationfileEncoding="windows-1251"requestEncoding="windows-1251"responseEncoding="windows-1251"culture="ru-RU"uiCulture="ru-RU"/>

and in every page

<metahttp-equiv="Content-Type"content="text/html; charset=windows-1251"/>

and have no idea where else do I need to define it in order to prevent such transformations !

Look at http://www.guysmithferrier.com/ and in particular at Guy Smith's bookISBN 0321341384 this book was approved by the Microsoft Globalisation Team

Also his presentation http://www.guysmithferrier.com/downloads/teni18n.pdf


Can you point me exactly on the article or another source on this site because I'm not shure what to search. I'd appreciate it very much. Don't you make me to search through entire site! -(
Regrettably my copy of Guy's book is locked in my desk drawer back at client site so I will not will able to look it up until late on Tuesday.

Ok, I could wait. Thanks.

Don't you know is there an electronic version of this book?


Look at http://safari.oreilly.com/0321341384 - it is available online at Safari Books
Thanks a lot! Anyway, I'm still waiting you to point a chapter which illustrates my problem solving...

See chapter 5 of Guy's book.

You may need to make up a minimal form demonstrating the problem and post that.


TATWORTH:

See chapter 5 of Guy's book.

You may need to make up a minimal form demonstrating the problem and post that.

I think a book won't help in this situation because it seems that we simply faced an updatepanel bug here.

There is a newer thread about this (Encoding Problem with Ajax), it has a small and simple example also to reproduce the bug(?)