Hi Dan and Team,
Is there a way to dynamically/programmatically set the repeat until value?
You can do it by calling Until() method on the RecurrenceRule instance. It can be either a new new instance:
RecurrenceRule r1 = RecurrenceRule.FromDateTime("1", start).Weekly().Until(DateTime.Today.AddMonths(2));
Or you can modify a deserialized instance this way:
RecurrenceRule r1 = RecurrenceRule.Decode("MQ==#2#C#U#2016-12-31T00:00:00#VyAxLDMsNSAqLzQ=").Until(DateTime.Today.AddMonths(2));
Thanks for the feedback ..
However, I don't think that you understand me or I'm not being clear enough..
Where within the standard example setup can I set the value so that the users can't change it?