Appointment Description is not display in schedule

12 posts, 1 answers
  1. Nadia Sangiovanni
    Nadia Sangiovanni avatar
    38 posts
    Member since:
    Apr 2010

    Posted 20 Aug 2010 Link to this post

    Hi Experts,

    I install the new release of Telerik Q2 2010 SP1 and it looks like the appointment description are not displayed anymore in the schedule!?!?! In your demo I obtain the same behavior.

    How can I display the appointment description in the schedule with Q2 2010 SP1?

    Regards,
    Nadia
  2. Dobry Zranchev
    Admin
    Dobry Zranchev avatar
    348 posts

    Posted 25 Aug 2010 Link to this post

    Hello Nadia,

    Thank you for writing.

    In order to show the descriptions, please subscribe to the AppointmentFormating event of RadScheduler and set the AppointmentElement property ShowAppointmentDescription to true.

    If you have other questions, feel free to contact us.

    All the best,
    Dobry Zranchev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. UI for WinForms is Visual Studio 2017 Ready
  4. luca
    luca avatar
    9 posts
    Member since:
    Feb 2008

    Posted 08 Sep 2010 Link to this post

    Hi Dobry,

    i have the same problem after that i have installed Telerik Winforms Q2 2010 SP1 i have the problem that radscheduler not show the text into appointments like Nadia. With previous version of winforms i have'nt the problem.

    The problem is found also into telerik Demos as you can see in the attachment. 

    the things that i don't understand is that sometimes into your demos are shown the text, sometimes no. What's the difference?
    in my application the text is never shown as you can see into attachment. Only tooltiptext are shown good.

    And another little question: how to format appointment title with bold font as in the attachment demosschedulerformattitle.png?

    in my application i use the code below to format appointment.

    Thanks in advance

    Luca

    Me.RadScheduler1.AppointmentTitleFormat = "{0:t} - {1:t}" & vbCrLf & "{2}"

    and i have a sub that format appointment subject:

    Private Sub SetSummary()
          If m_userResponsable <> "" Then
              Me.Summary = Me.Summary & m_userResponsable& vbCrLf
          End If
          If m_ShowAsDisplay <> "" Then
              Me.Summary = Me.Summary & m_ShowAsDisplay & vbCrLf
          End If
          If m_CorporateName <> "" Then
              Me.Summary = Me.Summary & m_CorporateName & vbCrLf
          End If
          If m_Oggetto <> "" Then
              Me.Summary = Me.Summary & m_Oggetto
          End If
      End Sub
  5. Jordi Borras
    Jordi Borras avatar
    2 posts
    Member since:
    May 2010

    Posted 10 Sep 2010 Link to this post

    Hi,

    I'm having the same problem and even I tryed to subscrive the event and set the ShowAppointmentDescription property to true, still the description is not displayed.

    Could you please provide a visual example?


    Thanks in advance
  6. Nadia Sangiovanni
    Nadia Sangiovanni avatar
    38 posts
    Member since:
    Apr 2010

    Posted 10 Sep 2010 Link to this post

    Hello,

    When I tried to add a new appointment with a Background Info I added, I start to have the same issue as my collegue.

    - The new Background:

     

     

    radScheduler1.Backgrounds.Add(new AppointmentBackgroundInfo(200, "Test", Color.LightCoral));

    - I insert appointments

    Appointment appointment1 = new Appointment(DateTime.Now, TimeSpan.FromHours(3), "Summary 1", "Description 1");
    appointment1.BackgroundId = 1;
    appointment1.StatusId = 1;
          
    Appointment appointment2 = new Appointment(DateTime.Now.AddDays(1), TimeSpan.FromHours(3), "Summary 2", "Description 2");
    appointment2.BackgroundId = 200;
    appointment2.StatusId = 100;
    radScheduler1.Appointments.Add(appointment1);
    radScheduler1.Appointments.Add(appointment2);

    The appointment1 is display properly but Appointment 2 with my added background don't display properly. I attach the image so you can visualize.

    Please Advise,
    Nadia

  7. Ramius
    Ramius avatar
    127 posts
    Member since:
    Feb 2008

    Posted 10 Sep 2010 Link to this post

    Hello Nadia,

    i think you have the same issue that i had reported via support ticket to telerik. I got this answer:

    Our team managed to find that the issue is caused by the Windows Regional Settings->Culture Decimal separator. The issue cannot be reproduced when the separator is a dot, however, in case the separator is not a dot, the problem occurs. We will fix this issue in our next internal build which is coming this Friday.

    For me this issue is fixed with internal build 813. 

    Regards,

    Ramius

  8. Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 11 Sep 2010 Link to this post

    Hello all,

    Udo is correct - the described behavior with the text missing was an issue that we have experienced in our official release of Q2 2010. Soon afterwards we introduced an internal build where this and other issues were fixed. The issue will also be addressed in our official SP2 (to be released next week), in case you don't mind waiting a few days.

    @Jordi: In regards to your question on making the appointment title bold, this is the default behavior of RadScheduler. However if you still want to use such a function, you can take advantage of the HTML-like formatting options that we offer, some of which described in this help article. Consider the following line in order to apply the formatting:
     
    radScheduler1.AppointmentTitleFormat = "<b>{2}</b>"

    Finally you might find useful this help article, which will give you more information about RadScheduler's text formatting.

    If there is anything else I can assist you with, do not hesitate to open a new support ticket.

    Kind regards,
    Stefan
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  9. Nadia Sangiovanni
    Nadia Sangiovanni avatar
    38 posts
    Member since:
    Apr 2010

    Posted 27 Sep 2010 Link to this post

    Hi Experts,

    I still have custom background issue as describe in previous post on september 10. I didn't install Build 813 but install Q2 2010 SP2 instead.

    How I could procede to correct this issue?

    Regards,
    Nadia
  10. luca
    luca avatar
    9 posts
    Member since:
    Feb 2008

    Posted 29 Sep 2010 Link to this post

    Ciao Nadia

    with the help of Dobry of Telerik Team i've solved the problem.

    First:
    Install the latest Telerik Winforms 2010.2 10.914 (Sep 14, 2010)


    Second:
    When you set the background ID at the appointment be sure that you set a bacgroundId that really exists in the RadScheduler.
    the code you use is correct but check if you set first the backgrounds and statuses into the radscheduler then fill with appointments and set your custom backgrounds.

    Third:
    To solve this problem subscribe the event RadScheduler.AppointmentFormatting and inside the event write this code:


    e.AppointmentElement.TitleFormat = Me.RadScheduler1.ActiveView.AppointmentTitleFormat '(for example : {0:t} - {1:t} {2})
    e.AppointmentElement.NumberOfColors = 1
    e.AppointmentElement.ShowAppointmentDescription = True
    e.AppointmentElement.ForeColor = Color.Black  
    e.AppointmentElement.BorderColor = Color.Gray    
    e.AppointmentElement.SmoothingMode = Drawing2D.SmoothingMode.HighSpeed
    e.AppointmentElement.GradientStyle = GradientStyles.Solid
    e.AppointmentElement.BackColor = YourBackColor

    i dont'understand why, but without this code appointment have no border,no forecolor.
    (the description and subject was shown but with forecolor trasparent and seems that not show description!!) 

    I hope this helps you.

    Goodbye

    Emanuele
  11. Nadia Sangiovanni
    Nadia Sangiovanni avatar
    38 posts
    Member since:
    Apr 2010

    Posted 29 Sep 2010 Link to this post

    Ciao Emanuele,

    Thank you very much for your solution, it's work properly.

    To Telerik Team:
    To make it work, I have to did the following steps:
    1. I create my customs background with appropriate back color for my radScheduler (100, 101, 102)
    2. When I create my appointments, I set the appropriate custom backgroundID
    3. In the event RadScheduler.AppointmentFormatting I add the code suggested by you and Emanuele.
    To set the appropriate backcolor [e.AppointmentElement.BackColor = YourBackColor], I check the appointment Background ID and set the backcolor of the BackgroundID I just created....

    I don't understand that I need to set back the appointment Background color of an appointment set with a custom background with who I already set the background color.

    Thank you for your advises,
    Nadia
  12. Answer
    Dobry Zranchev
    Admin
    Dobry Zranchev avatar
    348 posts

    Posted 30 Sep 2010 Link to this post

    Hello,

    Thank you for writing.

    Emanuele, I am not able to reproduce the visual issue that you describe. I would kindly ask you to send us a sample project so that we can investigate the case locally. Meanwhile, you can set the title format at the view level. This setting will be applied to all appointments that do not have a specific title format set.

    Nadia, from what I understand from your screenshot, you have settings for the backgrounds different than the default ones. For example, the shadow width for the ControlDefault theme is different than the default value. In order to synchronize it, you can use the properties from the existing background info object.
    AppointmentBackgroundInfo appointmentBackgroundInfo = new AppointmentBackgroundInfo(200, "Test", Color.LightCoral, Color.LightCoral, Color.Black, backgroundInfo.BorderColor);
    appointmentBackgroundInfo.ShadowStyle = backgroundInfo.ShadowStyle;
    appointmentBackgroundInfo.ShadowColor = backgroundInfo.ShadowColor;
    appointmentBackgroundInfo.ShadowWidth = backgroundInfo.ShadowWidth;
    appointmentBackgroundInfo.BorderBoxStyle = backgroundInfo.BorderBoxStyle;
    appointmentBackgroundInfo.BorderColor2 = backgroundInfo.BorderColor2;
    appointmentBackgroundInfo.DateTimeColor = backgroundInfo.DateTimeColor;
    appointmentBackgroundInfo.DateTimeFont = backgroundInfo.DateTimeFont;
    this.radScheduler1.Backgrounds.Add(appointmentBackgroundInfo);

    It is better to use additional background info instead of using AppointmentFormatting event. Thanks to it, you have more control over the appointment representation.

    I hope that this will help you.

    For further questions, do not hesitate to write us back.

    Kind regards,
    Dobry Zranchev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  13. Nadia Sangiovanni
    Nadia Sangiovanni avatar
    38 posts
    Member since:
    Apr 2010

    Posted 30 Sep 2010 Link to this post

    Hello Dobry,
    It's working now. Your support is really appreciated.

    Best wishes,
    Nadia
Back to Top
UI for WinForms is Visual Studio 2017 Ready