Hello from Brazil!
I need a help from you, guys!
Im using the example TutorialDayPilotSqlServer.zip and everything is working fine but if I change the CultureInfo no data is inserted on my database, but Update data works fine
My codes:
On page load
System.Threading.Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("pt-BR");
Event Detail
protected void EventDetail_ItemUpdating(object sender, DetailsViewUpdateEventArgs e)
{
// example as a response to http://forums.daypilot.org/Topic.aspx/583/changing_culture_from_enus_in_sqldemo_breaks_update
e.NewValues["eventstart"] = Convert.ToDateTime(e.NewValues["eventstart"], new CultureInfo("pt-BR"));
e.NewValues["eventend"] = Convert.ToDateTime(e.NewValues["eventend"], new CultureInfo("pt-BR"));
}
Web Config
<globalization uiCulture="pt-BR" culture="pt-BR"/>