opened
dahall
username_0
My UI contains checkboxes of days, so when user setup a weekly schedule it should create a WeeklyTrigger with checked days , how to implement this case ?  


Originally posted: 2013-03-12T08:16:07
Dynamically add days to DaysOfWeek
issue
created
dahall
username_0
You will have to step through the checkboxes and assign each one to a DaysOfTheWeek value then OR all those selected values together and assign them to the DayOfWeek property of the WeeklyTrigger. If the task already exists, you will need to retrieve it, update the trigger and the re-register it. You can see an example of this in the WeeklyTriggerUI control at [http://taskscheduler.codeplex.com/SourceControl/changeset/view/83275#1324283](http://taskscheduler.codeplex.com/SourceControl/changeset/view/83275#1324283).  


Originally posted: 2013-03-12T10:41:08
comment
closed
dahall
username_0
issue