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

Not allowed user to edit whole scheduler in certain scenario

1 Answer 47 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Ei Wai
Top achievements
Rank 1
Ei Wai asked on 07 Jan 2015, 01:57 AM
Hello,

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


1 Answer, 1 is accepted

Sort by
0
Boyan Dimitrov
Telerik team
answered on 09 Jan 2015, 02:44 PM
Hello,

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>


Regards,
Boyan Dimitrov
Telerik
 

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.

 
Tags
Scheduler
Asked by
Ei Wai
Top achievements
Rank 1
Answers by
Boyan Dimitrov
Telerik team
Share this question
or