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

Appointment Description field and Enter

3 Answers 53 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Erik
Top achievements
Rank 1
Erik asked on 28 Feb 2012, 07:33 PM
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?

3 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 29 Feb 2012, 11:25 AM
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.
0
Erik
Top achievements
Rank 1
answered on 02 Apr 2012, 08:39 PM
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
0
Plamen
Telerik team
answered on 05 Apr 2012, 02:08 PM
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.
Tags
Calendar
Asked by
Erik
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Erik
Top achievements
Rank 1
Plamen
Telerik team
Share this question
or