﻿<?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 - ClientUI - UXScheduleView and Cultures</title><link>http://www.intersoftsolutions.com/Community/ClientUI/UXScheduleView-and-Cultures/</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>UXScheduleView and Cultures</title><link>http://www.intersoftsolutions.com/Community/ClientUI/UXScheduleView-and-Cultures/</link><pubDate>Mon, 16 Jan 2012 23:19:16 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: rgb(31, 73, 125); font-size: 9pt;"&gt;Apologize for the delay in sending this.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: rgb(31, 73, 125); font-size: 9pt;"&gt;I use &lt;strong&gt;CultureInfo.InvariantCulture&lt;/strong&gt; 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.&lt;/span&gt;&lt;/p&gt;
&lt;ol style="font-family: 'segoe ui','sans-serif'; color: rgb(31, 73, 125); font-size: 9pt;"&gt;&lt;li&gt;Create a new project using the &lt;strong&gt;Intersoft ClientUI Ribbon Application&lt;/strong&gt; project template.&lt;/li&gt;&lt;li&gt;After the project is created, open the &lt;strong&gt;MailMessage.cs&lt;/strong&gt; model class.&lt;/li&gt;&lt;li&gt;Find following code&lt;br /&gt;&lt;pre&gt;this._date = x.Element("SendDate").Value != null ? DateTime.Parse(x.Element("SendDate").Value.Trim()) : DateTime.MaxValue;&lt;/pre&gt;&lt;br /&gt;and modify the code into the following. (*System.Globalization namespace is required)&lt;br /&gt;&lt;pre&gt;this._date = x.Element("SendDate").Value != null ? DateTime.Parse(x.Element("SendDate").Value.Trim(), CultureInfo.InvariantCulture) : DateTime.MaxValue;&lt;/pre&gt;&lt;/li&gt;&lt;li&gt;Open &lt;strong&gt;TrainingEvent.cs&lt;/strong&gt; model class.&lt;/li&gt;&lt;li&gt;Find following code&lt;br /&gt;&lt;pre&gt;...
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;
...&lt;/pre&gt;&lt;br /&gt;and modify the code into the following. (*System.Globalization namespace is required)&lt;br /&gt;&lt;pre&gt;...
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;
...&lt;/pre&gt;&lt;/li&gt;&lt;li&gt;Save all the changes and run the project.&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: rgb(31, 73, 125); font-size: 9pt;"&gt;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.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: rgb(31, 73, 125); font-size: 9pt;"&gt;The hotfix will be released within this week or two. Please download and apply the hotfix to fix the issue.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>UXScheduleView and Cultures</title><link>http://www.intersoftsolutions.com/Community/ClientUI/UXScheduleView-and-Cultures/</link><pubDate>Wed, 11 Jan 2012 12:03:07 GMT</pubDate><dc:creator>rbautistaole</dc:creator><description>&lt;p&gt;How do i reconfigure it?&lt;/p&gt;</description></item><item><title>UXScheduleView and Cultures</title><link>http://www.intersoftsolutions.com/Community/ClientUI/UXScheduleView-and-Cultures/</link><pubDate>Tue, 10 Jan 2012 22:48:19 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;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.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;We will provide the project template that fix this problem in the upcoming SP1 of Intersoft WebUI Studio 2011 R2.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>UXScheduleView and Cultures</title><link>http://www.intersoftsolutions.com/Community/ClientUI/UXScheduleView-and-Cultures/</link><pubDate>Tue, 10 Jan 2012 15:02:44 GMT</pubDate><dc:creator>rbautistaole</dc:creator><description>&lt;p&gt;Hi. &lt;/p&gt;
&lt;p&gt;I´m evaluating the R2 of ClientUI.&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: consolas; font-size: 13px"&gt;&lt;span style="font-family: consolas; font-size: 13px"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description></item></channel></rss>