Month view - formatting problem with multi-day appointments

21 posts, 0 answers
  1. Brian
    Brian avatar
    45 posts
    Member since:
    May 2008

    Posted 16 May 2011 Link to this post

    Hello

    Sometime when an all-day appointment spans more than a couple of days in month view, blank spaces are inserted on certain days and the cell height is increased above the value that I specified.

    In the example I'm providing, the first screenshot shows an all-day appointment ('Problem appointment') starting on April 1 and ending on April 4.  Everything is formatted properly and as expected (see radScheduler_GoodFormatting).

    However, in the second screenshot, the end date has been changed to April 5 - you will notice that the cell height has been increased for all rows and that there are now some random blank appointments in the cell for April 5 (see radScheduler_BadFormatting).

    This issue seems to happen randomly when appointments span several days and I'm not sure what's happening...the browser source code for the BadFormatting example shows that 2 blank divs have been inserted in April 5 for some reason right after the 10:30 appointment:
    <div class="rsWrap" style="z-index:6;height:25px;"></div> <div class="rsWrap" style="z-index:6;height:25px;"></div> Here is the rest of the relevant code that I'm using:

    Page css
    <style type="text/css"
             
            .RadScheduler_Sitefinity .rsMonthView .rsTodayCell
            {
                background: orange !important ;
            }
             
                           
            /* formats each app item container in Month view  */
            .RadScheduler_Sitefinity .rsMonthView div.rsWrap
            
                  height: 20px !important;
                  padding: 1px 0 1px 0 !important;
            }
             
         
            /* formats the actual label that appears in each app item container in Month view */
            .RadScheduler_Sitefinity .rsMonthView div.rsApt
            {
                height: 20px !important;
                overflow: hidden;                   
            }
             
           
        </style>

    The scheduler
    <telerik:RadScheduler
                CustomAttributeNames="resourceLabelColour,eventID" ID="RadScheduler1"
                runat="server"
                            
                OnClientAppointmentClick="viewAppInfo"
                 
                DataEndField="appEndTime" DataKeyField="appID"
                DataSourceID="SqlDataSource1" DataStartField="appStartTime"
                DataSubjectField="appSubject" height="1000px" Skin="Sitefinity">               
            </telerik:RadScheduler>

    Page_Load
    Me.RadScheduler1.SelectedDate = DateTime.Now
                Me.panelFilter.Width = Unit.Percentage(100)
                Me.RadScheduler1.SelectedView = SchedulerViewType.MonthView
                Me.RadScheduler1.MonthView.VisibleAppointmentsPerDay = 6
                'Me.RadScheduler1.MonthView.MinimumRowHeight = 6
                'Me.RadScheduler1.MonthView.AdaptiveRowHeight
     
                Me.RadScheduler1.FirstDayOfWeek = DayOfWeek.Monday
                Me.RadScheduler1.LastDayOfWeek = DayOfWeek.Sunday
                Me.RadScheduler1.TimelineView.UserSelectable = False
     
                Me.RadScheduler1.ReadOnly = False
                Me.RadScheduler1.AllowEdit = False
                Me.RadScheduler1.AllowDelete = False

    As I said, this issue seems to happen randomly and I'm not sure why...any help or suggestions are greatly appreciated

    Thanks

    Brian
  2. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 20 May 2011 Link to this post

    Hi Brian,

    I wasn't able to replicate the problem locally. Do you have a live url of the problem which you can send us?

    All the best,
    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.

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Brian
    Brian avatar
    45 posts
    Member since:
    May 2008

    Posted 25 May 2011 Link to this post

    Hi Peter

    Unfortunately the site is running on an intranet so I can't provide a live link...would it be helpful to post the page source code?

    You may have problems replicating this issue because it definitely doesn't happen all the time - it seems to only happen when an all-day appointment spans through several days and then the following code gets inserted, randomly it seems...

    <div class="rsWrap" style="z-index:6;height:25px;"></div>
    <div class="rsWrap" style="z-index:6;height:25px;"></div>

    Let me know if I can provide anything else that may help solve this problem - I'm really not sure why it's happening and really must try and prevent this from happening

    Thanks a lot

    Brian

  5. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 28 May 2011 Link to this post

    Hi Brian,

    This might be a bug with RadScheduler. I will log it and we will investigate it further.

    Unfortunately, I can't think of a workaround due to the random nature of the issue.

    Kind 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. Brian
    Brian avatar
    45 posts
    Member since:
    May 2008

    Posted 30 May 2011 Link to this post

    Hi - I've created a support ticket (429010) for this issue and have included a project illustrating the issue

    Thanks

    Brian
  7. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 30 May 2011 Link to this post

    Hi Brian,

    Thank you for sending a working demo of the issue. We were able to observe the problem locally, but unfortunately, this looks like a bug with RadScheduler. I have logged the issue and you can monitor its status here - http://www.telerik.com/support/pits.aspx#/public/aspnet-ajax/6282.


    Best wishes,
    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.

  8. Brian
    Brian avatar
    45 posts
    Member since:
    May 2008

    Posted 02 Jun 2011 Link to this post

    Thanks Peter

    I'm currently using the scheduler in a live project and the formatting problem is turning into a big issue for me - are you able to offer any suggestions or a timeframe in which I can expect the problem to be resolved?

    Thank you

    Brian
  9. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 02 Jun 2011 Link to this post

    Hi Brian,

    Unfortunately, I cannot give you a timeframe because the rendering of RadScheduler is quite complex and we are not sure if and when we will be able to resolve the issue.

    Best wishes,
    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.

  10. Brian
    Brian avatar
    45 posts
    Member since:
    May 2008

    Posted 03 Jun 2011 Link to this post

    Ok...my organization has purchased the Telerik Premium Collection three years in a row now (based on my recommendations), and I have always been pleased with the support and documentation that you offer.

    However, your response to this issue is unacceptable.  When you say that you are not sure if you will be able to resolve this issue, are you implying that you will continue to sell the scheduler control that includes a major bug? I have built an application around this control that is the sole tool used by 200 people at my organization to track appointments and events, and the issue is very deterimental to its functionality and visual appearance.

    I am now receiving a lot of pressure to resolve this issue, and telling my boss that it may or may not be fixed is not an option for me.  Is this the best that you can do?
  11. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 08 Jun 2011 Link to this post

    Hi Brian,

    We will handle this problem with top priority as soon as we complete our scheduled tasks for the upcoming Q2 2011 beta release.

    Please, accept our apologies for the caused inconvenience.

    Greetings,
    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.

  12. Brian
    Brian avatar
    45 posts
    Member since:
    May 2008

    Posted 08 Jun 2011 Link to this post

    Thank you very much Peter - that would be much appreciated.

    As I said, in general I'm very pleased with both your products and your support, but this is a very major issue for me.  I'll keep an eye on the situation and will be looking forward to a resolution.

    Thanks again

    Brian
  13. Brian
    Brian avatar
    45 posts
    Member since:
    May 2008

    Posted 07 Jul 2011 Link to this post

    Hello

    It's been a month since my last post and Q2 beta controls were released a couple weeks ago.

    What is the status of the flaw in the Scheduler control that you promised to address?
  14. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 12 Jul 2011 Link to this post

    Hello Brian,

    We spent significant amount of time and effort on this bug, but unfortunately, we couldn't fix it yet. I assure you we will continue struggling with this case until it is completely resolved.

    Regards,
    Peter
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

  15. Brian
    Brian avatar
    45 posts
    Member since:
    May 2008

    Posted 10 Aug 2011 Link to this post

    Yet another month has passed since my last post - I guess you are still 'struggling with this case'?

    This is RIDICULOUS.  As I said previously, I built a website around this control that is used throughout the day, every day, by 200 people at my organization.  I also said that the bug that I found, for which I sent you a fully functional project demonstrating the issue, basically rendered the control useless - this remains the case.

    How can you keep selling people this control in good conscience? How can you keep pushing new versions and releases without fixing the existing problems? This is not just a minor issue with the control - it is a major problem that affects the useability of the schedule.

    Are you even attempting to remedy the problem? As a result of this issue we have purchased a calendar control from one of your competitors, and it works as expected.  The downside for me is that I looked like an idiot for the last few months since the application I developed looks like a piece of garbage due to the problem with the control.  I am now in the process of re-developing the application and integrating the new, working calendar control.

    As a result of the way this issue has been handled you are very close to losing a customer who has purchased the Premium .NET Collection for the last 3 years.  Any comments?
  16. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 11 Aug 2011 Link to this post

    Hi Brian,

    Your point is well taken and we are really sorry about this.

    I will try to fix this bug with top priority next week and call on some help from colleagues if necessary. If the bug eludes us again, we will add it in the known issues section and create a sticky forum post to warn people of this. Also, I will contact our sales team to negotiate some refund as compensation for the inconvenience that this has caused you.

    I hope to meet your understanding.

    Kind 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.

  17. Nikolay Tsenkov
    Admin
    Nikolay Tsenkov avatar
    734 posts

    Posted 16 Aug 2011 Link to this post

    Hello Brian,

     We are happy to inform you, that the problem you experienced is now fixed. We made sure the fix is included in this week's Latest Internal Build and you should be able to get the change as late as tomorrow.

    Please, accept our sincere apologies for any inconvenience caused.


    Regards,
    Nikolay Tsenkov
    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.

  18. Jeyaganesh T
    Jeyaganesh T avatar
    7 posts
    Member since:
    May 2010

    Posted 19 Jul Link to this post

    Dear Telerik Team,

    I am working on visual studio c# and using "telerik:RadScheduler".

    DataStartField & DataEndField are defined.

    But while running the scheduler it's giving me the starting month as twice. If i am choosing the start month is any month (ex: january-2016 or July 2016) but i am getting as "First month as twice".

    see the attachment files (RadScheduler-sample 1.jpg and RadScheduler-sample 2.jpg).

    could you please help on this to solve this query.

  19. Veselin Tsvetanov
    Admin
    Veselin Tsvetanov avatar
    290 posts

    Posted 21 Jul Link to this post

    Hello Jeyaganesh,

    The following Demo implements RadScheduler with an asp:SqlDataSource, DataStartField and DataEndField set. Could you please tell us how to modify it so it reproduce the problem observed?

    Regards,
    Veselin Tsvetanov
    Telerik by Progress
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
  20. Jeyaganesh T
    Jeyaganesh T avatar
    7 posts
    Member since:
    May 2010

    Posted 25 Jul in reply to Veselin Tsvetanov Link to this post

    Dear Veselin,

    Thank you for the reference.

    Actually i did wrongly binded with start date values.

    i have corrected now.

    thank lots.

  21. Jeyaganesh T
    Jeyaganesh T avatar
    7 posts
    Member since:
    May 2010

    Posted 03 Aug in reply to Jeyaganesh T Link to this post

    Dear Telerik Team,

    I am working on visual studio c# and using "telerik:RadScheduler" with Timelineview.

    I have to bind the sequnce data in the radscheduler.

    Ex: i have to get the data from 01-July-2016 to 31-January-2017.

    Each activity will have the different date and timing like as below:-

    S.No    START DATE                  END DATE                      DURATION (Days)

    1          July/15/16 00:00             July/20/16 00:00                  5
    2          July/20/16 00:00             July/24/16 00:00                  4
    3          July/24/16 00:00             July/28/16 00:00 AM            4
    4         July/28/16 00:00              August /2/16 00:00 AM        5
    5         August /3/16 7:00 AM      August /8/16 7:00 AM          5
    6         August /8/16 7:00 AM      August /13/16 7:00 AM        5

    the sequence will have like that formated with different date and timing...

    In timelineview properties if i m set the StartTime="00:00:00" then it's ok for the activities (S.no 1,2,3,4).

    But for the activities (S.No 5 & 6) is not success.

    could you please advice on in which property can i use and it will be success of these condtions based on the start and end date time.

     

    Best Regards,

    Jeyaganesh.

  22. Veselin Tsvetanov
    Admin
    Veselin Tsvetanov avatar
    290 posts

    Posted 05 Aug Link to this post

    Hi Jeyaganesh,

    First of all, I would like to invite you to open a new Forum / Support thread as your last question does not continue the discussion on the topic of the current thread.

    Concerning your question, in the newly opened thread, could you, please explain the issue that you are facing? What do you mean by "for the activities (S.No 5 & 6) is not success"? Could you also clarify the last question from your post "advice on in which property can i use and it will be success of these condtions based on the start and end date time"?

    Regards,
    Veselin Tsvetanov
    Telerik by Progress
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017