Appointments Text break threw on long subjects

7 posts, 0 answers
  1. Markus
    Markus avatar
    28 posts
    Member since:
    Oct 2012

    Posted 03 May 2011 Link to this post

    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



  2. Markus
    Markus avatar
    28 posts
    Member since:
    Oct 2012

    Posted 04 May 2011 Link to this post

    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
  3. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 05 May 2011 Link to this post

    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.

  4. Markus
    Markus avatar
    28 posts
    Member since:
    Oct 2012

    Posted 17 May 2011 Link to this post

    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
  5. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 20 May 2011 Link to this post

    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.

  6. Markus
    Markus avatar
    28 posts
    Member since:
    Oct 2012

    Posted 26 May 2011 Link to this post

    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




  7. Ivan Zhekov
    Admin
    Ivan Zhekov avatar
    651 posts

    Posted 14 Jun 2011 Link to this post

    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.

Back to Top