This question is locked. New answers and comments are not allowed.
I wonder if I'm missing the point on how a user should create a new appointment covering a period of time longer than the minimum allowed by the configuration of the scheduleview. I have my RadScheduleView configured to have major tickmarks at 1hour and minor ones at 15 minutes. If I want to add an hour long appointment I envisaged dragging and highlighting the area and it then opening a new appointment for the time I wanted. Instead I either have to double click on a 15minute segment and then change the end time in the dialog or I highlight the start of the range and the end using shift-click to select the range and then implement a context menu to allow the right click of the selected area and create a new appointment. This is a bit of a pain but I can live with it.
However, where it does cause me a problem is on the opening of an item - or more specifically selecting to open when there is no appointment is selected. I have implemented the exact context menu as per your demo and if I select the Open... option to execute the EditAppointment command then I get a standard Silverlight error which on further investigation is an "Object Reference not set" error as there is no appointment selected. In the demo selecting Open with no appointment selected does absolutely nothing but there is nothing in the sample code that makes that work. What am I (or what is your demo) missing that would make this work correctly? Clearly a user can easily select Open when there is no appointment selected and we can't have it falling over on them. Any suggestions?
However, where it does cause me a problem is on the opening of an item - or more specifically selecting to open when there is no appointment is selected. I have implemented the exact context menu as per your demo and if I select the Open... option to execute the EditAppointment command then I get a standard Silverlight error which on further investigation is an "Object Reference not set" error as there is no appointment selected. In the demo selecting Open with no appointment selected does absolutely nothing but there is nothing in the sample code that makes that work. What am I (or what is your demo) missing that would make this work correctly? Clearly a user can easily select Open when there is no appointment selected and we can't have it falling over on them. Any suggestions?