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

Disable In-Place Editor

2 Answers 145 Views
Scheduler and Reminder
This is a migrated thread and some comments may be shown as answers.
Duval
Top achievements
Rank 1
Duval asked on 01 Jun 2012, 09:01 AM
Hello,

I'm trying to disable the in-place editor in my RadScheduler (in winforms of course) but i can't find properties that allow this...
I know that it's possible with the Silvelight Telerik components but I can't find such a propertie with WinForms components.
I don't want that my users could create appointments in typing on the keybord.
I already disable the Edit Appointment Form by clicking on cells but i want to disable the in place editor too.
How can I do this ?

Thanks, Celine

2 Answers, 1 is accepted

Sort by
0
Duval
Top achievements
Rank 1
answered on 01 Jun 2012, 10:54 AM
I found a solution, but we see for a split second the character that you just entered...but we can't create a new appointment so...
I use the CellElementKeyPress event like this : 
private void radScheduler_CellElementKeyPress(object sender, KeyPressEventArgs e)
     {
         radScheduler.SchedulerElement.EditorManager.CancelEdit();
     }
 
It's ok for the moment but it's not really intuitiv...
0
Ivan Todorov
Telerik team
answered on 04 Jun 2012, 10:54 AM
Hello Duval,

Thank you for your question.

Yes, you can disable the in-place editor the way you proposed, but RadScheduler provides more convenient ways to achieve this.

RadScheduler supports read-only mode and to activate it, you only need to set the following property:
this.radScheduler1.ReadOnly = true;

RadScheduler has a bit different behavior in read-only mode as you may notice. In case you only want to disable the in-place editors, you can set the following property:
this.radScheduler1.AllowAppointmentCreateInline = false;

I hope this will help you. Feel free to ask if you have any additional questions.

Regards,
Ivan Todorov
the Telerik team
RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
Tags
Scheduler and Reminder
Asked by
Duval
Top achievements
Rank 1
Answers by
Duval
Top achievements
Rank 1
Ivan Todorov
Telerik team
Share this question
or