iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
If i try to set Culture to change decimal separator and date format like this
void WebGrid1_InitializeLayout(object sender, LayoutEventArgs e) { e.Layout.Culture = new System.Globalization.CultureInfo("pl-PL"); }
It works only with server side binding, I create a sample
first bind to sql table
CREATE TABLE [dbo].[CultureItem]( [Id] [int] IDENTITY(1,1) NOT NULL, [Text] [nvarchar](50) NULL, [Date] [datetime] NULL, [Numeric] [numeric](11, 2) NULL)
Server Binding
and second web service client binding base on the same data
public class CultureItem { public int Id {get;set;} public decimal Numeric {get;set;} public string Text { get; set; } public DateTime Date { get; set; } }
List<CultureItem> r = new List<CultureItem>(); 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); }
Client Binding
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?
Best regards,
Michal
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.
Should you have different result, please feel free to let us know.
I was able to reproduce the issue and have forwarded this to WebGrid development team. The problematic behavior is submitted under work item #1042.
I’ll keep you updated with any news I heard from the team regarding work item #1042.
Your submitted issue is already queued in our work items. However, it hasn't been processed further due to work items priorities and urgency.
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?
3f439122-7b4c-4cf8-8d5d-0f3ed66f6765 WebUI Studio 2011 R1 for ASP.NET Subscription Active 6/6/2011 6/6/2012 2
Thank you very much for your prompt reply.
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.
any update in this topic after a year of working ?
best regards
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname