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

Appointments Text break threw on long subjects

6 Answers 48 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Markus
Top achievements
Rank 1
Markus asked on 03 May 2011, 01:46 PM
Hi !

I have the latest (Q1 2011) Version of Telerik WebUI.

When i create a Scheduler with Appointments, with very long subject Texts, i have this issue:

- I add an Background Color to each Appointment (Appointment.BackColor), because the appointments are delivered from an
existing windows based system, and need to be shown in Telerik with the same colors. If the subject text is very long, it will be line breaked, and outlined outside the appointmentment, directly in the radscheduer (see attached ScreenShot)

- As long as the Appointments have an CSS Style other than rsCategorySilver and no special backgroundcolor they are displayed correctly (Text is cutted before the end of the appointment)

Do you know, how to solve this issue ? I need many kind of different Background Colors.

with best regards
Markus



6 Answers, 1 is accepted

Sort by
0
Markus
Top achievements
Rank 1
answered on 04 May 2011, 05:00 PM
i found out, that in case you set the BackColor of an Appointment Item, the div, which contains the item,
will have the "rsAptSimple" added in the css.

When i manually remove this class (with an browser/stylesheet editor), it will be shown correct.

Is there any chance to remove it in the code ?

regards
Markus
0
Peter
Telerik team
answered on 05 May 2011, 01:26 PM
Hello Markus,

Can you try setting AppointmentStyleMode="Simple" for RadScheduler and check if this helps you get the desired result?

Regards,
Peter
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Markus
Top achievements
Rank 1
answered on 17 May 2011, 08:41 PM
Hi Peter !

Sorry for the late answer, was very busy this week.

If tried to set the simple mode, but the result is the same as before

regards
Markus
0
Peter
Telerik team
answered on 20 May 2011, 10:01 AM
Hello Markus,

Do you have any external css styles in your page? Attached is a simple demo that shows that the appointments with long text look as expected if AppointmentStyleMode="Default". Can you tweak my sample so that the problem can be seen and send it back?

Regards,
Peter
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Markus
Top achievements
Rank 1
answered on 26 May 2011, 08:57 AM
Hi Peter,

thanks for this. The key was AppointmentStyleMode="Default", with that, the line break is in the appointment.

But now, the resource rows and the appointment rows are not in a row now, please have a look at the screenshot

we have no external css

you can also try this directly online via this link

http://evn.cronus.at/monatsmatrix/Monatsmatrix.aspx?cooid=testservice&name=test

regards
Markus




0
Ivan Zhekov
Telerik team
answered on 14 Jun 2011, 08:29 AM
Hi Markus,

This behaviour appears to be a bug. We have logged it in our PITS.

In order fur us to fix the issue faster, do you think you could isolate just one page as a project and send it us? Just open a formal support ticket and link this forum.

Regards,
Ivan Zhekov
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
Scheduler
Asked by
Markus
Top achievements
Rank 1
Answers by
Markus
Top achievements
Rank 1
Peter
Telerik team
Ivan Zhekov
Telerik team
Share this question
or