Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
150
RecurrenceDialog StartDate / EndDate customization
posted

Hello,

I am using a RecurrenceDialog.  Is it possible to change the times in the appointment time start and end time drop downs?  The drop downs are defaulting to 1/2 hour increments, but I would like to make them 15 minute increments etc...  If the appointment passed in has a start time with an increment of 15 ie 1:15 then the drop down for the start time is blank, and there is no way to select a time of 1:15.  Being able to change the times in the drop downs would solve this problem.  Is there anyway to do that?

Any help is appreciated.

Thanks,

Tom

Parents
  • 69832
    Suggested Answer
    Offline posted

    Generally speaking, the stock appointment and recurrence dialogs are not extensible, they are patterned after the same dialogs seen in MS Outlook. The reason for this is that there are just too many possibilities for us to even attempt to handle them all cleanly (out of all the many requests like this one, no two have ever been exactly the same). The recommended solution to problems like this is to create your own dialog, cancel the appropriate event (BeforeDisplayAppointmentRecurrenceDialog in this case), and display your custom dialog in its place.

    Having said that, The RecurrenceDialog class is publicly exposed, and derives from System.Windows.Forms.Form, so you can theoretically modify certain things about it, although you would be doing so at your own risk since we cannot support such changes. For example, the times in the dropdown you mention here are presented as ValueListItems in an UltraComboEditor's Items collection, so you could clear that collection and repopulate it with different values.

Reply Children
No Data