Hi ,
I am using 'UltraMonthViewMulti", "ultraCalendarLook" and "ultraCalendarInfo" controls.
1. There is any option to set notes to below the days.
ultraCalendarLook1.DaysOfWeekLook[DayOfWeekEnum.Saturday].Appearance = ultraCalendarLook1.Appearances["WeekEndDay"];ultraCalendarLook1.DaysOfWeekLook[DayOfWeekEnum.Sunday].Appearance = ultraCalendarLook1.Appearances["WeekEndDay"];
2. There is any option to get a month weekend days without looping.
3. UltraMonthViewMulti control have any option to enter notes while clicking day itself.
kindly provide more information.
4305 said:i need to take all the saturday and sunday
Sorry, I don't understand what this means. You can iterate all the dates in a given month or year using the properties and methods of the .NET DateTime structure, and use the DateTime.DayOfWeek property to determine the day of the week for a particular instance; if this is not what you mean please repost with clarification on what exactly "take" means in this context.
i am using ultraMonthviewMulti control. as per my requirement user can able to set saturday and sunday as non working day. i can able to change the day background color the help of below the lines. but finally user going to click save button, i need to take all the saturday and sunday.
this
.ultraCalendarLook2.DaysOfWeekLook[DayOfWeekEnum.Saturday].Appearance = ultraCalendarLook1.Appearances["NonWorkingDay"];
this.ultraCalendarLook2.DaysOfWeekLook[DayOfWeekEnum.Sunday].Appearance = ultraCalendarLook1.Appearances["NonWorkingDay"];
i need to take all saturday and sunday date(s) for month wise or year wise.
Sorry, but I am not sure I understood your first two questions. Notes are displayed by the UltraWeekView and UltraMonthViewSingle controls; when you add a note for a given date/owner, they are displayed in that day for that owner. One way to get Day objects for weekend days is to build a list of dates of the weekend days in a month, then create Day objects for those dates using the UltraCalendarInfo.GetDay method.
Regarding you third question: UltraMonthViewMulti exposes a GetDayFromPoint method, which you can use in response to (for example) MouseClick to get a Day object, then add a member to the UltraCalendarInfo.Notes collection for that date. Note that UltraMonthViewMulti does not display notes.