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
Hi.
I´m evaluating the R2 of ClientUI.
I create an app with a ribbon template, i´m from Mexico (culture es-MX) when i run the app i get an error about DateTime.Parse in the class TrainingEvent. I fix the error changing to DateTime.Parse(...,CultureInfo.CreateSpecificCulture("en-US"). However the app still crash when i try to view the Calendar view when the UXScheduleView is created with EventsSource={Binding Events}. Seems that the control wait dates in Us format.
Apologize for the delay in sending this.
I use CultureInfo.InvariantCulture to rectify the DateTime.Parse problem that persist when user create a project using UXRibbon project template (Intersoft ClientUI Ribbon Application) on a PC where the regional settings of the PC is EN-US. The list below shows the step-by-step to have the project run on your end.
this._date = x.Element("SendDate").Value != null ? DateTime.Parse(x.Element("SendDate").Value.Trim()) : DateTime.MaxValue;
this._date = x.Element("SendDate").Value != null ? DateTime.Parse(x.Element("SendDate").Value.Trim(), CultureInfo.InvariantCulture) : DateTime.MaxValue;
... this._endDate = x.Attribute("EndDate") != null ? DateTime.Parse(x.Attribute("EndDate").Value.Trim()) : DateTime.MaxValue; ... if (x.Attribute("ExceptionDate") != null) this._exceptionDate = DateTime.Parse(x.Attribute("ExceptionDate").Value.Trim()); ... this._startDate = x.Attribute("StartDate") != null ? DateTime.Parse(x.Attribute("StartDate").Value.Trim()) : DateTime.MaxValue; ...
... this._endDate = x.Attribute("EndDate") != null ? DateTime.Parse(x.Attribute("EndDate").Value.Trim(), CultureInfo.InvariantCulture) : DateTime.MaxValue; ... if (x.Attribute("ExceptionDate") != null) this._exceptionDate = DateTime.Parse(x.Attribute("ExceptionDate").Value.Trim(), CultureInfo.InvariantCulture); ... this._startDate = x.Attribute("StartDate") != null ? DateTime.Parse(x.Attribute("StartDate").Value.Trim(), CultureInfo.InvariantCulture) : DateTime.MaxValue; ...
Another DateTime.Parse problem persists when the UXScheduleView is loaded. This problem comes from the internal code of UXScheduleView. But please don’t worry, since the development of UXScheduleView has managed to fix this problem.
The hotfix will be released within this week or two. Please download and apply the hotfix to fix the issue.
Based on your description, the date time culture is more likely causing the problem. For your information, it needs to use EN-US date time culture for now. If you want to change it, you need to configure recurring in your format.
We will provide the project template that fix this problem in the upcoming SP1 of Intersoft WebUI Studio 2011 R2.
How do i reconfigure it?
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