using custom function in radscheduler

2 posts, 0 answers
  1. Piron
    Piron avatar
    1 posts
    Member since:
    Apr 2011

    Posted 31 May 2011 Link to this post

    Here's the problem : I have a telerik radscheduler project linked with a database project . In order to update the database when a modification is done on the radscheduler i have decided to override the default on appointmentupdate method .
     protected void RadScheduler1_AppointmentUpdate(object sender, AppointmentUpdateEventArgs e)
            AppointmentInfo ai = FindById(e.ModifiedAppointment.ID);
                Business.DatabaseAccess myAccess = new Business.DatabaseAccess();
                AppointmentSet to_modify = myAccess.getAppointmentByDate(e.ModifiedAppointment.Start);
                myAccess.modifyAppointmentDate(e.ModifiedAppointment.Start, e.ModifiedAppointment.End, to_modify.Id);

                throw new Exception("unknown problem");


    My solution is very close to the binding to generic list example in your site :  

    This solution seems to work fine but each time i launch the avanced edit template the radscheduler project crashed . Could you explain to me what did i miss ?
  2. Peter
    Peter avatar
    6637 posts

    Posted 01 Jun 2011 Link to this post

    Hi Piron,

    It is difficult to diagnose the problem just by looking at this code snippet. What error in particular do you get. If you can, I advise you to open a support ticket and send us a simple working demo of the issue. This way, we will be able to provide you quickly with an accurate solution.

    Best wishes,
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Back to Top