Disable all edit options and add custom commands

4 posts, 1 answers
  1. Paweł
    Paweł avatar
    26 posts
    Member since:
    Jun 2011

    Posted 28 Sep 2011 Link to this post

    Hello!
    I have to do, but I don't know how few thing:
    1. Hide delete button from Appointments and prevent to delete appointment
    2. Prevent user drag/drop and resize Appointments, but not only prevent from write, but to not start dragging and start resizing.
    3. After double click on Appointment I need to run Edit command, after double click on white space I need to run Create command.
    I will be glad, if you help me.
  2. Yana
    Admin
    Yana avatar
    4713 posts

    Posted 29 Sep 2011 Link to this post

    Hi Paweł,

    Straight to your questions:

    1. please check this thread - it's demonstrated how to remove the delete button.

    2. you should implement custom DragDropBehavior and override CanStartDrag and CanStartResize method, the approach is explained here.

    3. this sounds like the default behavior of the RadScheduleView, can you please explain in more details?

    Greetings,
    Yana
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. Paweł
    Paweł avatar
    26 posts
    Member since:
    Jun 2011

    Posted 30 Sep 2011 Link to this post

    AD. 1 - thx :)
    AD. 2 - thx :)
    AD. 3 - I need to bind my custom MVVM commands, not that telerik ones.
  4. Answer
    Yana
    Admin
    Yana avatar
    4713 posts

    Posted 05 Oct 2011 Link to this post

    Hi Paweł,

    I've attached a simple example which demonstrates how to use custom CreateAppointment and EditAppointment commands, please download it and give it a try.

    Hope this helps.

    Greetings,
    Yana
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top