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

What property controls the rendering of the thicker timelines in the scheduler?

3 Answers 76 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Johan
Top achievements
Rank 1
Johan asked on 23 Dec 2010, 10:59 AM
Hi,
I am playing around with the MinutesPerRow and TimeLabelRowSpan properties. The default settings are 30 and 2 resp.

In day and weekview, the lines separating the rows are rendered thicker every 2 rows.

If I set TimeLabelRowSpan to 3, this looks very weird/confusing, since the lines separating the time labels do not connect to the thicker rendered row separating lines.

Can I control the events/count in which the thicker row separator lines in the scheduler are rendered?

Or could this be a bug? I would expect the label separating lines to connect to the thicker rendered row separating lines so if it is hardcoded that every 2 row separating lines a line is rendered thicker this cannot be accomplished.
A solution would be to render every TimeLabelRowSpan-nd row separating line thicker.

regards,
Johan


Can I change the subject of a topic?
Better would be:

"What property controls the rendering logic of the thicker row separating lines in dayview/weekview?"

3 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 29 Dec 2010, 10:38 AM
Hello Ghandi,

This looks like an old bug, which we have already fixed. If you use the current version - 2010.3 1215, but you still get this problem, can you send us a sample code with which we can test locally? Ideally, you can open a support ticket and attach a simple working demo of the problem.

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
Johan
Top achievements
Rank 1
answered on 30 Dec 2010, 01:26 PM

Hi Peter,

I installed the latest trial: 2010.3.1215.40

Please explain to me where it is not clear:

1. In the scheduler, in the dayview, the rows are separated by lines. Every two lines a line is rendered a little thicker (see horizontal red ovals in attachement).

2. In the scheduler, in the dayview, the groups are separated by lines.

3. If TimeLabelRowSpan = 3, in the scheduler, in the dayview, every 3 rows are grouped.

4. If TimeLabelRowSpan = 3, in the scheduler, in the dayview, the row separator lines are still rendered a little thicker every 2 lines.

5. If TimeLabelRowSpan = 3, in the scheduler, in the dayview, the thicker row separator lines do not align with the group separator lines which looks ackward (see vertical red oval in attachement).

Imho there are a number of "solutions".

1. Add the possibility to disable the rendering of the thicker lines (take a look at the tick frequency and zoom demo of the wpf scheduler. There all row separating lines are rendered grey, not thick/black).

2. Do not always render the thicker line every 2 lines, but every TimeLabelRowSpan lines.

So if TimeLabelRowSpan = 3, every 3 lines, so that the thicker line connects to the group separator line.

3. If TimeLabelRowSpan is devisable by 2, render a thicker line every two lines, if it is devisable by 3 every 3 lines, by 5 every 5 lines etc. for every prime.

regards,

Johan

ps. Can I open a suppor ticket as a trail user? I did not find how. I cannot attach a project here (although I think it is not needed. Just open any project with a scheduler, set TimeLabelRowSpan = 3 and you can verify this.

0
Peter
Telerik team
answered on 04 Jan 2011, 02:03 PM
Hi Johan,

I see what you mean. Thank you for your detailed explanation. I agree with what you are suggesting, so I will log it in our system for future implementation.

In the meantime, you can workaround the problem with the following css fix (you will need to adjust the border-bottom-color depending on your skin).
.rsContentTable .rsAlt td 
  {
      border-style: dotted !important;
      border-bottom-color: #e8eaec !important;
   }

Note that every other row renders with rsAlt class which is causing the double line.


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.
Tags
Scheduler
Asked by
Johan
Top achievements
Rank 1
Answers by
Peter
Telerik team
Johan
Top achievements
Rank 1
Share this question
or