Disable In-Place Editor

3 posts, 0 answers
  1. Duval
    Duval avatar
    2 posts
    Member since:
    Sep 2011

    Posted 01 Jun 2012 Link to this post

    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. Duval
    Duval avatar
    2 posts
    Member since:
    Sep 2011

    Posted 01 Jun 2012 Link to this post

    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...
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Ivan Todorov
    Admin
    Ivan Todorov avatar
    688 posts

    Posted 04 Jun 2012 Link to this post

    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 >>
Back to Top