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

Item across all resources

1 Answer 43 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Simon
Top achievements
Rank 1
Simon asked on 17 Feb 2009, 12:54 PM
I am trying to use the schedule component for a conference agenda. We have multiple rooms for sessions but have a standard break across all sessions.

I can do the rooms very easily with resources. However I would like to have the generic items span across all the rooms. Is this possible?

This was my attempt without the radScheduler component http://www.sqlbits.com/information/event3/MainAgenda.aspx

This is the agenda but with out rooms http://www.sqlbits.com/information/NewAgenda.aspx

Thanks

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 17 Feb 2009, 01:31 PM
Hi Simon,

This functionality is not supported out-of-the-box, but you can try the following workaround - use Custom Atrributes to tag appointments which will span across all rooms and assing these appointments to the first resource. In AppointmentDataBound check the value of the custom attribute and set a custom class as in the following example:
 protected void RadScheduler1_AppointmentDataBound(object sender, SchedulerEventArgs e)  
    {  
        if (e.Appointment.Attributes["SpanAll"] == "true")  
        {  
            e.Appointment.CssClass = "SpanAllResourcesCssClass";  
        }  
    } 

Define the custom css class like this:
 <style type="text/css">  
    .SpanAllResourcesCssClass  
    {  
        width: 400% !important;/* x*100 for x resources*/ 
    }  
    </style> 


Regards,
Peter
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Scheduler
Asked by
Simon
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or