OK I've just been working on an app that passes recurring appointment data between the scheduler for ASP.net and the one for WinForms. Tricky but I'm getting there. I have found something utterly idiotic and sorry but that is the only word for it.
The ASP implementation of the RecurrenceDay has None = 0, Sunday = 1, Monday = 2 etc.
The corresponding implementation in WinForms of a WeekDays enum is None = 0, Monday = 1, Tuesday = 2 etc.
Presumably the WPF version has the week starting on Wednesday and Silverlight is Thursday ?
I think that there should be some big glaring article in the help pages of both ASP.Net and WinForms control sets warning people of this mismatch. I'm now going to have to have a small helper translation function to handle it. I'm just pleased that I noticed this before going live.
Jon
The ASP implementation of the RecurrenceDay has None = 0, Sunday = 1, Monday = 2 etc.
The corresponding implementation in WinForms of a WeekDays enum is None = 0, Monday = 1, Tuesday = 2 etc.
Presumably the WPF version has the week starting on Wednesday and Silverlight is Thursday ?
I think that there should be some big glaring article in the help pages of both ASP.Net and WinForms control sets warning people of this mismatch. I'm now going to have to have a small helper translation function to handle it. I'm just pleased that I noticed this before going live.
Jon