Disabling Edit Form in RadScheduler

5 posts, 1 answers
  1. Vincent
    Vincent avatar
    24 posts
    Member since:
    Oct 2008

    Posted 08 May 2009 Link to this post

    Hi,

    I am using the RadScheduler, and I would like to disable the edit form, both advanced and simplified. But I do not want to disable editing by doing _theCalendar.AllowEdit = false because i still need to trigger the AppointmentClick event.
    So when i click on an appointment I don't want the RadScheduler to show anything.
    Is there a way to achieve that?

    thanks,
    Vincent
  2. Veselin Vasilev
    Admin
    Veselin Vasilev avatar
    2992 posts

    Posted 11 May 2009 Link to this post

    Hi Vincent,

    I am afraid this is not possible. To fire the AppointmentClick server event, AllowEdit property should be True.
    What exactly do you want to achieve?

    What you can do is to subscribe to the OnClientAppointmentClick event and call the ajaxRequest method of the RadAjaxManager to fire the server side AjaxRequest event of the ajax manager.


    Regards,
    Veselin Vasilev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.

  3. Vincent
    Vincent avatar
    24 posts
    Member since:
    Oct 2008

    Posted 11 May 2009 Link to this post

    Hi Veselin,

    What I want to achieve is to do a single click on an event, and the handler performs some server-side action.

    I don't quite understand what your suggestion means. Can you please provide an example?

    Regards,
    Vincent
  4. Answer
    Veselin Vasilev
    Admin
    Veselin Vasilev avatar
    2992 posts

    Posted 13 May 2009 Link to this post

    Hello Vincent,

    Please find attached a sample project.
    When you click on an appointment (e.g. the appointment named Click here) the OnClientAppointmentClicked event is fired. In its handler I am calling the ajaxRequest method of the RadAjaxManager passing the ID of the appointment. This fires the server AjaxRequest event where I find the appointment by its ID and change its subject.

    I hope this helps.

    All the best,
    Veselin Vasilev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  5. Vincent
    Vincent avatar
    24 posts
    Member since:
    Oct 2008

    Posted 13 May 2009 Link to this post

    Hi Veselin,

    This is PERFECT!!

    Thanks a million!

    Regards,
    Vincent
Back to Top