﻿<?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 - WebDesktop - WebGrid Chinese Sorting Issue</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/WebGrid-Chinese-Sorting-Issue/</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>WebGrid Chinese Sorting Issue</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/WebGrid-Chinese-Sorting-Issue/</link><pubDate>Wed, 27 Jul 2011 22:41:34 GMT</pubDate><dc:creator>MarTin</dc:creator><category>WebGrid</category><category>Chinese</category><category>Sorting issue</category><description>&lt;p&gt;Hello Gavin,&lt;/p&gt;
&lt;p&gt;Let me clarify this property with the developer team.&lt;/p&gt;
&lt;p&gt;I will get back to you as soon as possible.&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;-Martin-&lt;/p&gt;</description></item><item><title>WebGrid Chinese Sorting Issue</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/WebGrid-Chinese-Sorting-Issue/</link><pubDate>Tue, 26 Jul 2011 22:11:33 GMT</pubDate><dc:creator>gavin</dc:creator><category>WebGrid</category><category>Chinese</category><category>Sorting issue</category><description>&lt;p&gt;Hi Martin,&lt;/p&gt;
&lt;p&gt;Thank you for your kind reply!&lt;/p&gt;
&lt;p&gt;I had not found the &lt;strong&gt;System.Threading.Current.CultureInfo.CurrentCulture. &lt;/strong&gt;I found a property called &lt;strong&gt;System.Threading.Thread.CurrentThread.CurrentCulture&lt;/strong&gt; property, and I set it to &lt;strong&gt;new CultureInfo(“zh-CN”)&lt;/strong&gt;. &lt;/p&gt;&lt;pre&gt;System.Threading.Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("zh-CN");
System.Threading.Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo("zh-CN");&lt;/pre&gt;

&lt;p&gt;However, chinese sorting issue still exist.Where should the &lt;strong&gt;System.Threading.Current.CultureInfo.CurrentCulture &lt;/strong&gt;should be set? &lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;-gavin-&lt;/p&gt;
&lt;div class="attachment" id="att10313" style="display: none"&gt;&lt;div class="attachmentcontent"&gt;
&lt;div&gt;&lt;img align="top" src="http://www.intersoftpt.com/WebResources/Images/Community/attachment.png" /&gt;&lt;span id="attSummary10313" style="font-weight: bold" count="0"&gt;0 attachment&lt;/span&gt;&lt;/div&gt;
&lt;div class="attachmentitemcontainer" id="attContent10313" attachments=""&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;
&lt;div id="edit10313" style="display: none"&gt;&lt;/div&gt;
&lt;div class="postcontentaction" id="action10313"&gt;&lt;/div&gt;</description></item><item><title>WebGrid Chinese Sorting Issue</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/WebGrid-Chinese-Sorting-Issue/</link><pubDate>Tue, 12 Jul 2011 16:41:55 GMT</pubDate><dc:creator>MarTin</dc:creator><category>WebGrid</category><category>Chinese</category><category>Sorting issue</category><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;You should use &lt;strong&gt;System.Threading.Current.CultureInfo.CurrentCulture&lt;/strong&gt;. Note that this is not a WebGrid's properties since this issue is related to ISDataSource instead.&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Hope this helps. Thank you.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;-Martin-&lt;/p&gt;</description></item><item><title>WebGrid Chinese Sorting Issue</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/WebGrid-Chinese-Sorting-Issue/</link><pubDate>Mon, 11 Jul 2011 18:52:33 GMT</pubDate><dc:creator>MarTin</dc:creator><category>WebGrid</category><category>Chinese</category><category>Sorting issue</category><description>&lt;p&gt;Hello Gavin,&lt;/p&gt;
&lt;p&gt;I’m currently still investigating this issue and need more time to provide you with solution, suggestion, or sample. I’ll get back to you as soon as possible.&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;-Martin-&lt;/p&gt;</description></item><item><title>WebGrid Chinese Sorting Issue</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/WebGrid-Chinese-Sorting-Issue/</link><pubDate>Sat, 09 Jul 2011 01:39:23 GMT</pubDate><dc:creator>gavin</dc:creator><category>WebGrid</category><category>Chinese</category><category>Sorting issue</category><description>&lt;p&gt;Hi Martin,&lt;/p&gt;
&lt;p&gt;Thank you for your kind reply!&lt;/p&gt;
&lt;p&gt;Actually we are using ISDS in our project! However, I had not found the &lt;strong&gt;CultureInfo.CurrentCulture. &lt;/strong&gt;I found a property called Culture in the LayoutSettings property, and I set the culture in IntializeLayout(Please see the attached sample).&lt;/p&gt;&lt;pre&gt;protected void WebGrid1_OnInitializeLayout(object sender, ISNet.WebUI.WebGrid.LayoutEventArgs e)
{
    CultureInfo culture = new CultureInfo("zh-CN");
    this.WebGrid1.LayoutSettings.Culture = culture;
    this.WebGrid1.LayoutSettings.TextSettings.Language = LanguageMode.UseCulture;
    this.WebGrid1.LayoutSettings.TextSettings.UseLanguage = culture.ToString();
}&lt;/pre&gt;
&lt;p&gt;However, chinese sorting issue still exist.Where should the WebGrid's &lt;strong&gt;CultureInfo.CurrentCulture&lt;/strong&gt; should be set? &lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;-gavin-&lt;/p&gt;</description></item><item><title>WebGrid Chinese Sorting Issue</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/WebGrid-Chinese-Sorting-Issue/</link><pubDate>Fri, 08 Jul 2011 03:41:49 GMT</pubDate><dc:creator>MarTin</dc:creator><category>WebGrid</category><category>Chinese</category><category>Sorting issue</category><description>&lt;p&gt;Hello Gavin,&lt;/p&gt;
&lt;p&gt;I just get the update from the team.&lt;/p&gt;
&lt;p&gt;When using ISDataSource, this issue could be resolved by setting the &lt;strong&gt;CultureInfo.CurrentCulture&lt;/strong&gt; to &lt;strong&gt;new CultureInfo(“zh-CN”)&lt;/strong&gt;. &lt;/p&gt;
&lt;p&gt;This is already implemented in ISDS, but certainly won’t work in SQLDS or others. But I believe you are using ISDS in your project.&lt;/p&gt;
&lt;p&gt;Therefore, please try this suggestion and see how it works on your end.&lt;/p&gt;
&lt;p&gt;Hope this helps. Thank you.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;-Martin-&lt;br /&gt;&lt;/p&gt;</description></item><item><title>WebGrid Chinese Sorting Issue</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/WebGrid-Chinese-Sorting-Issue/</link><pubDate>Thu, 07 Jul 2011 00:20:39 GMT</pubDate><dc:creator>MarTin</dc:creator><category>WebGrid</category><category>Chinese</category><category>Sorting issue</category><description>&lt;p&gt;Hello Gavin,&lt;/p&gt;
&lt;p&gt;Unfortunately, I haven't received any update from them.&lt;/p&gt;
&lt;p&gt;Your issue is already queued in our work items. Possibly, it hasn't been processed further due to work items priorities and urgency.&lt;/p&gt;
&lt;p&gt;I may be able to help raising the priority for your issue if you can assist me with your license information. Could you let me know if you currently own an active subscription?&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;-Martin-&lt;/p&gt;</description></item><item><title>WebGrid Chinese Sorting Issue</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/WebGrid-Chinese-Sorting-Issue/</link><pubDate>Wed, 06 Jul 2011 03:22:11 GMT</pubDate><dc:creator>gavin</dc:creator><category>WebGrid</category><category>Chinese</category><category>Sorting issue</category><description>&lt;p&gt;Hi Martin,&lt;/p&gt;
&lt;p&gt;Thank you for your kind reply!&lt;/p&gt;
&lt;p&gt;Is there any&lt;span space="0| " rightzone="34|6" leftzone="34|6"&gt; feedback from your developer team&lt;/span&gt;&lt;span space="" rightzone="40|3" leftzone="40|3"&gt;?&lt;/span&gt;&lt;/p&gt;&lt;span space="" rightzone="40|3" leftzone="40|3"&gt;&lt;p&gt;We need to fix this soon, kindly help&lt;/p&gt;&lt;p&gt;Thank you.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Regards,&lt;br /&gt;-gavin-&lt;/p&gt;&lt;/span&gt;</description></item><item><title>WebGrid Chinese Sorting Issue</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/WebGrid-Chinese-Sorting-Issue/</link><pubDate>Tue, 28 Jun 2011 05:19:26 GMT</pubDate><dc:creator>MarTin</dc:creator><category>WebGrid</category><category>Chinese</category><category>Sorting issue</category><description>&lt;p&gt;Hello Gavin,&lt;/p&gt;
&lt;p&gt;I'm currently forwarding your issue to the developer team.&lt;/p&gt;
&lt;p&gt;I will let you know when I get any feedback from them.&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;-Martin-&lt;/p&gt;</description></item><item><title>WebGrid Chinese Sorting Issue</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/WebGrid-Chinese-Sorting-Issue/</link><pubDate>Tue, 28 Jun 2011 01:10:23 GMT</pubDate><dc:creator>gavin</dc:creator><category>WebGrid</category><category>Chinese</category><category>Sorting issue</category><description>&lt;p&gt;Hi Martin,&lt;/p&gt;
&lt;p&gt;Thank you for your kind reply!&lt;/p&gt;
&lt;p&gt;However, in the large amount of data and flexibility,it is not enough for us to use LinqDataSource or ISLinqDataSource.Such as our queries is not sure sometime, we have many ready-made "GetData" methods , we need to handle large amount of data and so on. &lt;br /&gt;Is there any way to solve the chinese sorting issue when we use ISDataSource having our own sorting method? Or do you have an indirect solution to solve this problem? &lt;/p&gt;
&lt;p&gt;We need to fix this soon, kindly help&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;-gavin-&lt;/p&gt;</description></item><item><title>WebGrid Chinese Sorting Issue</title><link>http://www.intersoftsolutions.com/Community/WebDesktop/WebGrid-Chinese-Sorting-Issue/</link><pubDate>Tue, 21 Jun 2011 03:32:01 GMT</pubDate><dc:creator>gavin</dc:creator><category>WebGrid</category><category>Chinese</category><category>Sorting issue</category><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;We are running a website on Windows 7 Server with China Chinese (zh-CN) culture and having a strange problem while sorting Grid Columns, the details of the problem are as follows,&lt;br /&gt;We are using a grid with Classic Paging and Custom Paging Load.&lt;/p&gt;&lt;pre&gt;&amp;lt;LayoutSettings PagingMode="ClassicPaging" PagingLoadMode="Custom" PagingSize="20"  AllowSorting="Yes"&amp;gt;
&amp;lt;/LayoutSettings&amp;gt;&lt;/pre&gt;
&lt;p&gt;ISDataSource having our own sorting method "GetData"&lt;/p&gt;&lt;pre&gt;&amp;lt;ISDataSource:ISDataSource ID="ISDataSource1" runat="server" SchemaType="CustomObject"&amp;gt;
     &amp;lt;Tables&amp;gt;
	&amp;lt;ISDataSource:ISDataSourceTable SelectMethod="GetData" EnablePaging="true"
	    SelectCountMethod="GetCount" TableName="Messages_Center" TypeName="WebApplication1.App_Code.Messages_Center"&amp;gt;
	&amp;lt;/ISDataSource:ISDataSourceTable&amp;gt;
    &amp;lt;/Tables&amp;gt;
&amp;lt;/ISDataSource:ISDataSource&amp;gt;&lt;/pre&gt;
&lt;p&gt;We are experiencing the following behaviour : &lt;br /&gt; When I sort the "StepName" column(c&lt;span title="点击可显示其他翻译" class="hps" closure_uid_8nps9a="129"&gt;ontains&lt;/span&gt; &lt;span title="点击可显示其他翻译" class="hps" closure_uid_8nps9a="130"&gt;Simplified Chinese&lt;/span&gt;) from A to Z we get the correct value of each page (&lt;strong&gt; &lt;/strong&gt;see the attach picture) througth "GetData" method.But each page show the value only containing &lt;span title="点击可显示其他翻译" class="hps" closure_uid_8nps9a="130"&gt;Simplified&lt;/span&gt; Chinese incorrectly(see the attach picture).&lt;/p&gt;
&lt;p&gt;Do you have any idea on what is causing this behaviour ?We need to fix this soon, kindly help&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description></item></channel></rss>