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

Radscheduler Timelineview Height

3 Answers 101 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
ChrisC.
Top achievements
Rank 2
ChrisC. asked on 07 Oct 2010, 10:55 PM
Is there a way to set a fixed height in Timelineview?  I need to be able to drop an appointment from a Radgrid control into an empty schedule with resources set to grouped.  When I have the schedule grouped by a resource, and there are no visible appointments, the scheduler shrinks to nothing and there's no empty space for me to drop anything.

-ChrisC.

3 Answers, 1 is accepted

Sort by
0
Veronica
Telerik team
answered on 12 Oct 2010, 05:39 PM
Hi ChrisC.,

By default TimelineView gets the Height of the RadScheduler.

It is strange that Scheduler shrinks to nothing when there are no appointments in TimelineView.  You can check at this demo that the behavior of TimelineView is different. 

Could you please attach the code or at least show me the settings of the RadScheduler so I can inspect it and help you?

Thank you!

All the best,
Veronica Milcheva
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
0
ChrisC.
Top achievements
Rank 2
answered on 13 Oct 2010, 06:13 PM
I found the reason the scheduler shrinks to nothing when there are no selected appointments.  The problem is that I'm using the appointments themselves as Resources so that I can group by that resource so that I can show them in a Stack-type layout, see attachment, and when there are no appointments selected, there are no resources set which causes the scheduler to shrink to nothing.

Is there a way I can set the GroupBy to nothing when there are no appointments selected?  I tried setting it at various spots, but keep getting this error:
"Data properties on data control 'RadScheduler1' such as DataSource, DataSourceID, and DataMember cannot be changed during the databinding phase of the control."


0
Veronica
Telerik team
answered on 19 Oct 2010, 01:22 PM
Hi ChrisC.,

Thank you for the pictures and detailed information.

You can change the GroupExpression in the GroupBy and set it to empty string when you don't want to group. Please take a look at this demo for reference.

Feel free to ask me if you have further questions.

Best wishes,
Veronica Milcheva
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
ChrisC.
Top achievements
Rank 2
Answers by
Veronica
Telerik team
ChrisC.
Top achievements
Rank 2
Share this question
or