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

Resource name in time slot

2 Answers 25 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Jagdish
Top achievements
Rank 1
Jagdish asked on 30 Jun 2010, 07:12 PM
Dear all,
help me to display resource name in the available time slot.

2 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 05 Jul 2010, 09:41 AM
Hello Jagdish,

Please, try the following code and let me know if this is what you need:

protected void RadScheduler1_TimeSlotCreated1(object sender, TimeSlotCreatedEventArgs e)
   {
       Literal resourceName = new Literal();
       resourceName.Text = e.TimeSlot.Resource.Text;
       e.TimeSlot.Control.Controls.Add(resourceName);
   }



All the best,
Peter
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
Jagdish
Top achievements
Rank 1
answered on 06 Jul 2010, 06:06 PM
thank you,
this is what i need.
Tags
Scheduler
Asked by
Jagdish
Top achievements
Rank 1
Answers by
Peter
Telerik team
Jagdish
Top achievements
Rank 1
Share this question
or