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

Exception after deleting Appointment from RadScheduler

1 Answer 89 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Oliver
Top achievements
Rank 1
Oliver asked on 08 Jul 2008, 01:32 PM

Hi everybody,

I am using the RadGridScheduler Component to manage Activities by moving, editing or deleting them. In order to display a detailed view of the activity, a details window is opened using the RadWindowManager.

On this details view there is a button to delete the current activity. When I do this, the window gets closed and a javascript callback method is called from the scheduler’s aspx site to refresh the current  content.

However, after the activity has been deleted within the RadScheduler’s  AppointmentDelete event and the aspx site gets load again, the following Exception has been thrown:

[NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.]

   Telerik.Web.UI.SchedulerPostBackEvent.DeserializeFromJSON(String json) +85

   Telerik.Web.UI.RadScheduler.RaisePostBackEvent(String eventArgument) +67

   Telerik.Web.UI.RadScheduler.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7

   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11

   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +177

   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1746 

Has anybody an idea, what went wrong?

Thanks in advance.

1 Answer, 1 is accepted

Sort by
0
Simon
Telerik team
answered on 09 Jul 2008, 03:38 PM
Hi Oliver,

Could you provide the code of your implementation so that it can be investigated further? Otherwise it would be difficult to trace the cause of the error.

Or if it more convenient for you, could you open a support ticket and send us a working version of the page where the problem can be reproduced?

Sincerely yours,
Simon
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Scheduler
Asked by
Oliver
Top achievements
Rank 1
Answers by
Simon
Telerik team
Share this question
or