Appointment Description field and Enter

4 posts, 0 answers
  1. Erik
    Erik avatar
    6 posts
    Member since:
    Sep 2010

    Posted 28 Feb 2012 Link to this post

    How come I can't hit enter on the description field and be able to type in a new line? Is there a property that i need to set?
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 29 Feb 2012 Link to this post

    Hello,

    Try setting StartInsertingInAdvancedForm as true to enable typing in new line by hitting enter. Also take a look into the following demo.
    Scheduler / Customizing the Time Slots

    Thanks,
    Princy.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Erik
    Erik avatar
    6 posts
    Member since:
    Sep 2010

    Posted 02 Apr 2012 Link to this post

    Thanks for the response Princy. I checked the StartInsertingInAdvancedForm property and it was already set to true. It seems that when I open a new appointment by clicking in an empty time slot and then click into any text box in the form and then press enter, the text box I clicked into loses focus and the cursor goes into the Subject text box automatically as if the keypress is firing some sort of javascript event. After this occurs I can then press enter in the description text box and get new lines as I am hoping for. Any idea about the event that is being fired? When I run my project on my local machine I am getting a javascript error so something is definetly being fired.

    As for the demo you linked to, I took a look but am questioning where it is relevant to my current problem? I do not need added functionality in the scheduler timeslots, I am interested in the appointment template itself. Please elaborate if I am missing something on the demo you linked to and I'd be happy to re-look it over.

    On top of the description box enter issue, I also was hoping to customize the size (width and height) of the description text box. Do you have any recommendations on how to achieve this?

    Thanks again,

    Erik
  5. Plamen
    Admin
    Plamen avatar
    2733 posts

    Posted 05 Apr 2012 Link to this post

    Hi Erik,

     
    his functionality sounds like a known bug that is already logged for fixing in our internal system. It is observed when RadScheduler is bound to WebService - when the Enter button is pressed while the Advanced form is opened the inline form opens behind. If your case is the same please let me now and I will notify you in this thread as soon as the issue is fixed.

    If your case is different please try to describe what are the steps to reproduce it.

    As for the width and the height of the description field you can add the following css:

    textarea.riTextBox
            {
                height:50px;
                width:50px !important;
                }

    Hope this will be helpful.

    All the best,
    Plamen Zdravkov
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top