Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1235
How to avoid PromptForLocalTimeZone (at least after the first time)...
posted

Hello,
although I found the guidelines (and apparently applied them correctly) I don't succeed to avoid the prompt fot local time zone in my Silverlight project.

 I tried this:

private CustomTimeZoneInfoProvider tzip = new CustomTimeZoneInfoProvider();

public AgendaViewModel()
{

tzip.LocalTimeZoneId = "W. Europe Standard Time";
dataConnector.TimeZoneInfoProvider = tzip;
}

I tried also:

public AgendaViewModel()
{
dataConnector.TimeZoneInfoProviderResolved.LocalTimeZoneId = "W. Europe Standard Time";
}

Paradoxically, if I succeed in setting this value, the XamOutlookCalendarView kind of disappear (meaning I don't see anymore the appointments in it).

The only way I know of making it work is to enter that value every time I start the app.

I guess I'm missing something, can someone point that out?
Thanks 

Roberto

Parents Reply Children
No Data