Why EditAppointmentDialog is not disabled after publishing the application

3 posts, 0 answers
  1. Bassem
    Bassem avatar
    2 posts
    Member since:
    Sep 2011

    Posted 24 Oct 2013 Link to this post

    hi,
    i disabled add,edit and delete appointment on Scheduler by canceling them:
    private void ReservationRadScheduler_AppointmentDeleting(object sender, SchedulerAppointmentCancelEventArgs e)
            {
                e.Cancel = true;
            }
     
            private void ReservationRadScheduler_AppointmentDropping(object sender, AppointmentMovingEventArgs e)
            {
                e.Cancel = true;
            }
     
            private void ReservationRadScheduler_AppointmentEditDialogShowing(object sender, AppointmentEditDialogShowingEventArgs e)
            {
                e.Cancel = true;
            }
    everything works fine at debugging and running on the developing computer
    but after puplishing the application when i double click on the appointment an exception is thrown:
    Exception Message:"value is lower than the minimum value"
    this happens in EditAppointmentDialog.InitializeComponent() !!!!!!
  2. Bassem
    Bassem avatar
    2 posts
    Member since:
    Sep 2011

    Posted 28 Oct 2013 Link to this post

    Cause: there is mismatch between scheduler culture and current user culture
    So it's solved by setting both scheduler and current user to same calendar culture.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. George
    Admin
    George avatar
    500 posts

    Posted 29 Oct 2013 Link to this post

    Hi Bassem,

    I am glad that you were able to solve the problem yourself.

    Let me know if there is anything I can be of help with.

    Regards,
    George
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
Back to Top