﻿<?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 - How to set WebGrid Culture on ClientBinding</title><link>http://www.intersoftsolutions.com/Community/WebGrid/How-to-set-WebGrid-Culture-on-ClientBinding/</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>How to set WebGrid Culture on ClientBinding</title><link>http://www.intersoftsolutions.com/Community/WebGrid/How-to-set-WebGrid-Culture-on-ClientBinding/</link><pubDate>Mon, 10 Sep 2012 21:24:16 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;WebGrid development team has managed to fix the reported problem. Please update and apply the latest build of WebGrid and WebUI.NET Framework 3 using Intersoft Update Manager application.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;Should you have different result, please feel free to let us know.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>How to set WebGrid Culture on ClientBinding</title><link>http://www.intersoftsolutions.com/Community/WebGrid/How-to-set-WebGrid-Culture-on-ClientBinding/</link><pubDate>Mon, 10 Sep 2012 08:51:55 GMT</pubDate><dc:creator>mpodbielski</dc:creator><description>&lt;p&gt;any update in this topic after a year of working ?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;best regards&lt;/p&gt;</description></item><item><title>How to set WebGrid Culture on ClientBinding</title><link>http://www.intersoftsolutions.com/Community/WebGrid/How-to-set-WebGrid-Culture-on-ClientBinding/</link><pubDate>Wed, 24 Aug 2011 03:57:21 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;Thank you very much for your prompt reply.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;I have forwarded the required information to WebGrid development team. I’ll keep you updated with any news I heard from the team regarding work item #1042.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>How to set WebGrid Culture on ClientBinding</title><link>http://www.intersoftsolutions.com/Community/WebGrid/How-to-set-WebGrid-Culture-on-ClientBinding/</link><pubDate>Tue, 23 Aug 2011 17:01:31 GMT</pubDate><dc:creator>mpodbielski</dc:creator><description>&lt;br /&gt;Yes i have active subscription:&lt;br /&gt;&lt;p&gt;3f439122-7b4c-4cf8-8d5d-0f3ed66f6765 WebUI Studio 2011 R1 for ASP.NET Subscription Active 6/6/2011 6/6/2012 2&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>How to set WebGrid Culture on ClientBinding</title><link>http://www.intersoftsolutions.com/Community/WebGrid/How-to-set-WebGrid-Culture-on-ClientBinding/</link><pubDate>Mon, 22 Aug 2011 04:32:40 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Your submitted issue is already queued in our work items. However, it hasn't been processed further due to work items priorities and urgency.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&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;/span&gt;&lt;/p&gt;</description></item><item><title>How to set WebGrid Culture on ClientBinding</title><link>http://www.intersoftsolutions.com/Community/WebGrid/How-to-set-WebGrid-Culture-on-ClientBinding/</link><pubDate>Wed, 17 Aug 2011 03:22:51 GMT</pubDate><dc:creator>mpodbielski</dc:creator><description>do yo have any news from developer team? When I should except some workaround or fixing the problem? This issue is realy urgent because i want to change binding mode to improve performence but i can't do that without proper culture formatting.&lt;br /&gt;&lt;br /&gt;Best regards&lt;br /&gt;Michal&lt;br /&gt;</description></item><item><title>How to set WebGrid Culture on ClientBinding</title><link>http://www.intersoftsolutions.com/Community/WebGrid/How-to-set-WebGrid-Culture-on-ClientBinding/</link><pubDate>Mon, 08 Aug 2011 07:06:03 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;I was able to reproduce the issue and have forwarded this to WebGrid development team. The problematic behavior is submitted under work item #1042.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;I’ll keep you updated with any news I heard from the team regarding work item #1042.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>How to set WebGrid Culture on ClientBinding</title><link>http://www.intersoftsolutions.com/Community/WebGrid/How-to-set-WebGrid-Culture-on-ClientBinding/</link><pubDate>Sun, 07 Aug 2011 18:47:51 GMT</pubDate><dc:creator>mpodbielski</dc:creator><description>&lt;p&gt;If i try to set Culture to change decimal separator and date format like this&lt;/p&gt;&lt;pre&gt;void WebGrid1_InitializeLayout(object sender, LayoutEventArgs e)
        {
            e.Layout.Culture = new System.Globalization.CultureInfo("pl-PL");
        }&lt;/pre&gt;

&lt;p&gt;It works only with server side binding, I create a sample&lt;/p&gt;
&lt;p&gt;first bind to sql table&lt;/p&gt;&lt;pre&gt;CREATE TABLE [dbo].[CultureItem](
	[Id] [int] IDENTITY(1,1) NOT NULL,
	[Text] [nvarchar](50) NULL,
	[Date] [datetime] NULL,
	[Numeric] [numeric](11, 2) NULL)&lt;/pre&gt;
&lt;p&gt;&lt;a href="http://webgrid.bhm.com.pl/CultureTest.aspx?mode=server" target="_blank"&gt;Server Binding&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;and second web service client binding base on the same data&lt;/p&gt;&lt;pre&gt; public class CultureItem
    {
        public int Id {get;set;}
        public decimal Numeric {get;set;}
        public string Text { get; set; }
        public DateTime Date { get; set; }
    }&lt;/pre&gt;
&lt;pre&gt; List&amp;lt;CultureItem&amp;gt; r = new List&amp;lt;CultureItem&amp;gt;();
                foreach (DataRow row in s.readTable("CultureItem").Rows)
                {
                    CultureItem it = new CultureItem()
                    {
                        Date = DateTime.Parse(row["Date"].ToString()),
                        Id = int.Parse(row["Id"].ToString()),
                        Numeric = decimal.Parse(row["Numeric"].ToString()),
                          Text= row["Text"].ToString()
                    };                    
                    r.Add(it);
                }
&lt;/pre&gt;
&lt;p&gt;&lt;a href="http://webgrid.bhm.com.pl/CultureTest.aspx" target="_blank"&gt;Client Binding&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;All WebGridSetting is the same but in ClientBindig date format and decimal point don't change no matter what culture I set? How can I do that?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Michal&lt;/p&gt;</description></item></channel></rss>