This is a migrated thread and some comments may be shown as answers.

Why EditAppointmentDialog is not disabled after publishing the application

2 Answers 15 Views
Scheduler and Reminder
This is a migrated thread and some comments may be shown as answers.
Bassem
Top achievements
Rank 2
Bassem asked on 24 Oct 2013, 02:51 PM
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 Answers, 1 is accepted

Sort by
0
Bassem
Top achievements
Rank 2
answered on 28 Oct 2013, 07:21 AM
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.
0
George
Telerik team
answered on 29 Oct 2013, 12:08 PM
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 >>
Tags
Scheduler and Reminder
Asked by
Bassem
Top achievements
Rank 2
Answers by
Bassem
Top achievements
Rank 2
George
Telerik team
Share this question
or