or
I have this requirement wherein I will add permission to a user. The permissions are grouped and displayed in a treeview.
Now once a user selected a specific permission, this permission together with the group node will be transferred to another treeview on the right side. How can I do it using javascript/jquery? Is this supported by your treeview control? Right now I can do this using the selected node change event of the .NET Built In Treeview Control but I can't use it now since I have new requirement wherein
RecurrenceDay and not the string or int
.
I know that we can assign multiple days using pipeline operator, but it is not feasible to write all the conditions in that case. So, please suggest some efficient and easy way to assign some string or integer based value to DaysOfWeekMask property.
Please revert asap.
Regards
Appointment fitnessAppointment =
new
Appointment();
fitnessAppointment.Subject =
"Fitness"
;
fitnessAppointment.Start = DateTime.Now;
fitnessAppointment.End = DateTime.Now.AddHours(2);
RecurrencePattern recurrencePattern =
new
RecurrencePattern();
recurrencePattern.Frequency = RecurrenceFrequency.Weekly;
recurrencePattern.MaxOccurrences = 30;
recurrencePattern.DaysOfWeekMask = RecurrenceDays.Monday | RecurrenceDays.Wednesday | RecurrenceDays.Friday;
RecurrenceRule recurrenceRule =
new
RecurrenceRule( recurrencePattern );
fitnessAppointment.RecurrenceRule = recurrenceRule;