This question is locked. New answers and comments are not allowed.
When trying to create View Definitions programatically I found that if the GroupHeaderDateStringFormat is not set, we get an exception with a key of some kind.
For example this returns that exception:
And this does not:
It's possibly some code not handled correctly on your side?
Marco
For example this returns that exception:
WeekViewDefinition qwe = new WeekViewDefinition();qwe.VisibleDays = 7;qwe.Title = "aksdhkasdhas";qwe.DayStartTime = new TimeSpan(6, 00, 00);qwe.DayEndTime = new TimeSpan(23, 00, 00);radScheduleView.ViewDefinitions.Add(qwe);And this does not:
WeekViewDefinition qwe = new WeekViewDefinition();qwe.GroupHeaderDateStringFormat = "{0:dd dddd}";qwe.Orientation = Orientation.Horizontal;qwe.VisibleDays = 7;qwe.Title = "aksdhkasdhas";qwe.DayStartTime = new TimeSpan(6, 00, 00);qwe.DayEndTime = new TimeSpan(23, 00, 00);radScheduleView.ViewDefinitions.Add(qwe);It's possibly some code not handled correctly on your side?
Marco