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
20 Answers, 1 is accepted
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.
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
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.
Thanks
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.
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
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.
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?
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.
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
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?
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!
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?
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.
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.
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.
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.
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
Dear Veselin,
Thank you for the reference.
Actually i did wrongly binded with start date values.
i have corrected now.
thank lots.
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.
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