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

Horizontal layouts and time tooltip

11 Answers 232 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
jrit
Top achievements
Rank 1
jrit asked on 02 Jan 2008, 10:28 PM
I've run into 2 client requests I've been unable to do in Scheduler either because they are not possible or I don't know how. If these are possible, advice is appreciated.

The first is the request for tooltips for the empty times on the scheduler so that if they are looking at the end of the week and the times are across the screen, or if the dates are off the top of the screen, it will be easier to know the datetime of the  empty block.

The other problem is that I'd like to have a scheduler day view where resources run horizontally and the times are along the top. There are just scenarios where this is more space efficient, such as if there is 20 resources showing and all that is required is the title in a small block.

11 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 03 Jan 2008, 08:15 AM

Hi Jarrett,

Thank you for using RadScheduler and for your questions.

Both of your requirements are not possible with the current version of RadScheduler. However, I will log them and our developers will consider them.

For the first question, I think an OnClientTimeSlotHover event would allow you to implement the desired tooltip functionality. However, currently the closest similar event exposed by RadScheduler is OnClientTimeSlotClick.



All the best,

Peter
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
HHalim
Top achievements
Rank 2
answered on 12 May 2008, 10:20 PM
I'm resurrecting this thread.

I also have a request to have the time as horizontal top header and resources as the left column.

It will be great to have a gantt chart layout showing multiple resources timeline in one day format. In fact a gantt chart feature for the scheduler will be simply amazing!

Thanks!
0
Peter
Telerik team
answered on 14 May 2008, 04:16 PM
Hello Hart,

With Q1 2008 release we have introduced a new Timeline view. Is this what you need?


Peter
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
HHalim
Top achievements
Rank 2
answered on 14 May 2008, 04:41 PM
That's close to what I'm looking for, but it shows the days instead of time on the top.

Day view with the hours on the top header will be perfect. Similar to this demo:
http://www.telerik.com/demos/aspnet/prometheus/Scheduler/Examples/ResourceGrouping/DefaultCS.aspx
But with the resources as rows, and the hours as columns. It does not have to be editable, read only is fine. I know this is probably a lot of work to change the layout that way.

Thanks!


0
Dimitar Milushev
Telerik team
answered on 16 May 2008, 01:37 PM
Hello Hart,

I'm attaching a screenshot of what I believe you are trying to achieve. If this is the scenario you want, you can implement it with the TimelineView.

The Scheduler markup is quite simple:
        <telerik:RadScheduler runat="server" Skin="Sunset" ID="RadScheduler1" OverflowBehavior="Expand" SelectedView="TimelineView" ProviderName="TestSchedulerProvider"
            <TimelineView SlotDuration="01:00:00" StartTime="08:00" NumberOfSlots="12" HeaderDateFormat="t" GroupBy="User" GroupingDirection="Vertical" /> 
        </telerik:RadScheduler> 

There are a few key properties here:

The SlotDuration property sets the duration of each slot (i.e. column) to one hour.

The NumberOfSlots property sets the number of columns you want to be displayed.

We also set the HeaderDateFormat property to "t" so the column headers display the time (default is displaying the date only). You can read more about Date and Time Format Strings at http://msdn.microsoft.com/en-us/library/az4se3k1.aspx

Finally, the GroupBy and GroupingDirection are set so the View is grouped by resources and the resources are shown on the left side.

Let us know if you have further questions.

Best wishes,
Dimitar Milushev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
HHalim
Top achievements
Rank 2
answered on 16 May 2008, 02:52 PM
Excellent! You guys are amazing, this is why I'm a loyal customer.

Last request, if you guys can put in your to do list a horizontal scrollbar option, so the time slots scrolls left/right, but the resource names stay fixed, that will be perfect! Or a way to set the slot width, and if the total slots width are larger than the scheduler width, then the horizontal scrollbar shows up automatically.

Thanks!
0
Dimitar Milushev
Telerik team
answered on 16 May 2008, 03:18 PM
Hello Hart,

Thank you for your nice words.

We have plans for implementing horizontal scrolling and we are currently experimenting with different approaches and implementations. Anyway, thank you for your suggestions :)

Sincerely yours,
Dimitar Milushev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
SKS
Top achievements
Rank 1
answered on 27 Oct 2009, 05:34 PM
hi
this is my second request to telerik.
i need to show the total number of hours each day on the calendar
i also need to show the total number of hours for the week at the bottom
how can this be done?
also
there is a bug in RadScheduler
i am binding the same datasource to the RadScheduler
and it so happens that
the appointmentscollection immediately after binding the datasource are different in DayView and WeekView. for the RadScheduler
this is a bug

-SKS
0
Peter
Telerik team
answered on 28 Oct 2009, 04:05 PM
Hi SKS,

I replied in the other forum thread about the same question. You can handle AppointmentCreated which will occur for all appointments in the visible range of RadScheduler. For example:
 
protected void RadScheduler1_AppointmentCreated(object sender, AppointmentCreatedEventArgs e) 
   
       Response.Write(e.Appointment.Duration.TotalHours.ToString()); 
   }

You can add the TotalHours to get s summary for all appointments for a particular day or a week.

If this is not what you need, please open a support ticket and provide more details on what your goal is.


Cheers,
Peter
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
ChrisC.
Top achievements
Rank 2
answered on 06 Oct 2010, 07:51 PM
 I have an additional question about the Timeline View.

It's almost exactly what I need, except for one thing.  Is it possible to "stack" the appointments rather than "stagger" them the way the scheduler automatically does?

I've attached images of what I'm trying to say.
0
T. Tsonev
Telerik team
answered on 12 Oct 2010, 10:58 AM
Hello Chris,

Currently, RadScheduler doesn't support such behavior. The best that can be done is to introduce a fictional resource, assign each appointment an unique value, and enable grouping on it. You'll get something that looks like this example. Except that each appointment will be on its own row.

This is a lot of work and you should decide if the it's worth implementing it.

I hope this helps.

Best wishes,
Tsvetomir Tsonev
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
Tags
Scheduler
Asked by
jrit
Top achievements
Rank 1
Answers by
Peter
Telerik team
HHalim
Top achievements
Rank 2
Dimitar Milushev
Telerik team
SKS
Top achievements
Rank 1
ChrisC.
Top achievements
Rank 2
T. Tsonev
Telerik team
Share this question
or