﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - WebGrid Enterprise - Problem with Culture and Text Settings</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Problem-with-Culture-and-Text-Settings/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>Problem with Culture and Text Settings</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Problem-with-Culture-and-Text-Settings/</link><pubDate>Tue, 13 Jul 2010 00:37:14 GMT</pubDate><dc:creator>Glayaar</dc:creator><category>WebGrid</category><description>&lt;p&gt;In my test using WebGrid 7 build 403 and WebUI Framework 3 build 754, I could not replicate the error you mention. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Attached is the test page I am using in order to test your issue &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Problem with Culture and Text Settings</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Problem-with-Culture-and-Text-Settings/</link><pubDate>Mon, 12 Jul 2010 09:53:54 GMT</pubDate><dc:creator>fabdellacorte</dc:creator><category>WebGrid</category><description>&lt;p&gt;Recently we have a problem with culture settings in the WebGrid
(version 7.0.7200.403), that in the past with same code didn't have.&lt;/p&gt;
&lt;p&gt;I use the SmartWebResources, set in the MarkUp of WebGrid the
default Culture and in the Localization Manager the Default Culture and
then change the Culture in the code behind&lt;/p&gt;&lt;pre&gt;// example set the cultute&lt;br /&gt;CultureInfo ci = CultureInfo("it-IT");&lt;br /&gt;grid.LayoutSettings.Culture = ci;&lt;br /&gt;                       &lt;br /&gt;//Set the localization of commonText and grid messages&lt;br /&gt;           grid.LayoutSettings.TextSettings.UseLanguage = ci.ToString();&lt;/pre&gt;
&lt;p&gt;This settings time ago worked but now it doesn't work anymore. &lt;br /&gt;&lt;/p&gt;
&lt;p&gt;On the 32-bit I don't see the traslation of TextSettings in Italian
but I don't have exception instead on the 64-bit when I set the Culture
have the following exception:&lt;/p&gt;&lt;pre&gt;[AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.]&lt;br /&gt;   ISNet.WebUI.XMLCultureInfo.CreateXMLNumberFormatInfo(XmlDocument xmlDoc) &amp;#43;0&lt;br /&gt;   ISNet.WebUI.XMLCultureInfo.CreateXMLCultureInfo() &amp;#43;97&lt;br /&gt;   ISNet.WebUI.WebGrid.WebGrid.GetXMLCultureInfo() &amp;#43;251&lt;br /&gt;   ISNet.WebUI.ISNetControl.RegisterScript() &amp;#43;409&lt;br /&gt;   ISNet.WebUI.WebGrid.WebGrid.RegisterScript() &amp;#43;2520&lt;br /&gt;   ISNet.WebUI.ISNetControl.(Object ?, EventArgs ?) &amp;#43;103&lt;br /&gt;   System.EventHandler.Invoke(Object sender, EventArgs e) &amp;#43;0&lt;br /&gt;   System.Web.UI.Control.OnPreRender(EventArgs e) &amp;#43;11028046&lt;br /&gt;   Wuerth.Phoenix.Speedy.OrderlineGrid.ShelfPage.OnPreRender(EventArgs e) in C:\Fabrizio\MainTrunk\SpeedyCrm\OrderlineGrid\ShelfPage.aspx.cs:108&lt;/pre&gt;
&lt;p&gt;Probably this is due because if the culture is set to default
(en-US), the xml data for culture info is no longer generated in the
webpage and the if I change it won't be generate anymore.&lt;/p&gt;
&lt;p&gt;Can you help me?&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;thanks in advanced&lt;/p&gt;</description></item></channel></rss>