Not allowed user to edit whole scheduler in certain scenario

2 posts, 0 answers
  1. Ei Wai
    Ei Wai avatar
    56 posts
    Member since:
    Jul 2014

    Posted 06 Jan 2015 Link to this post


    I tried to make radscheduler to be not editable. I use below code to set.

    RadScheduler1.AllowInsert = false;
    RadScheduler1.ReadOnly = true;
    RadScheduler1.Enabled = false;
    RadScheduler1.AllowDelete = false;
    RadScheduler1.AllowEdit = false;

    It will not show delete button. It will not show inline insert template when I click on empty timeslot. But it showed advanced edit/ advanced insert form when I click on timeslot. And I cannot click anything else since all controls inside these templates are disabled. I tried Radscheduler1.Enabled=false. But still not working. Anyone can advice me on this issue? 

    Thank you.

    Best regards,
    Ei Wai

  2. Boyan Dimitrov
    Boyan Dimitrov avatar
    2062 posts

    Posted 09 Jan 2015 Link to this post


    The RadScheduler Enabled="false" will disable the entire control so you are not able to navigate between the views, dates and etc.
    I tried using the following RadScheduler configuration and it works fine at my side.
    //markup code
    <telerik:RadScheduler ID="RadScheduler1" runat="server" AllowDelete="false" AllowEdit="false" AllowInsert="false"></telerik:RadScheduler>

    Boyan Dimitrov

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top