I am using Wingrid 10.3 ( with latest service release). I have binded grid to a binding list, which has Value Date ("DateTime" ) public property. Though my object value retrieved from database is "12/02/2010", Grid is displaying this date with Local regional settings.
I mean if I change my time zone to PST ( US pacific time zone ) from CST, Grid is changing the Date on the grid. How can I prevent the grid to stop doing that. How can I enforce the grid not to use any local regional settings. When I assign a date value to the grid, Why is changing ? Please advise, is there a property on the grid I can use to stop doing this ?
The grid does not change the time zone of your dates. Something else in the code must be doing this.
What kind of Data Source are you using?
Are you sure that the date and time in the data source are returning what you think they are?
What happens if you button a button on the form and display the ToString of the value and pass in the short date format?
Mike,
Data source is BindingList ( C# object with below lists) : List<FxHeader>
class FXHeader {
private List<FXOrder> fxOrderCollection;
private List<EquityOrder> selectedEQOrderCollection;
}
I am testing with a button now.
Hello,
Were you able to resove this issue?
This is not Ultra grid issue. Issue was with web services to XML translation. This is known issue with Microsoft. I have added code to translate datatime varaible to string on the server side to resolve this issue.