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

Scheduler Resources

3 Answers 69 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Lindsay Miles
Top achievements
Rank 1
Lindsay Miles asked on 25 Jul 2011, 08:15 PM
Hello,

I'm looking at making a schedule/calendar for a hockey team website and would like to include 2 or 3 resources to add to any given event: Home Team (always set), Away Team and Venue. Additionally, I'd like a descriptor flag to indicate a Practice or Game

My Teams and Venues are held in two tables in the db. Assume I retrieve the data into List<Team> and List<Venue> lists.

Can someone please explain how I could dynamically add Teams and Venues to two resource lists in the AdvancedForm? Can I bind resources to the lists?

Thanks

3 Answers, 1 is accepted

Sort by
0
Accepted
Plamen
Telerik team
answered on 26 Jul 2011, 03:36 PM
Hi Lindsay,

You can take a look at our Working with Resources help topic.

Hope this will be helpful.

Greetings,
Plamen Zdravkov
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

0
Lindsay Miles
Top achievements
Rank 1
answered on 26 Jul 2011, 08:04 PM
Thanks Plamen, that helps!

Other questions:

I need to add a couple option/radio buttons to the AdvancedForm so that the users can choose if they're scheduling a GAME or a PRACTICE. How do you advise I do this on the AdvancedForm? OR do I need to use another Resource list, albeit only 2 items?

IF the user adds a GAME into the schedule, I'd like additional data to be added to that event AFTER the game, ie, the score and flag the winner. How do you advise I do this on the AdvancedForm?

Lastly, can I add a link to an event/appointment in the Scheduler and have that redirect to another page/DNN module to display that appointment/event data? All I'd need to pass is the appointment ID in a redirect but, how do you advise I do this on an appointment on the Scheduler?

Thanks
0
Plamen
Telerik team
answered on 29 Jul 2011, 03:10 PM
Hello Lindsay,

You can have a look at our AdvancedTemplate demo where you can add different kinds of controls in the advanced form.

About the second questions you can use Appointment template and take the ID like here:
<telerik:RadScheduler runat="server" ID="RadScheduler1"
       
          <AppointmentTemplate>
                <div class="rsAptSubject">
                    <%# Eval("ID") %>
                </div>
                <a href="http://www.telerik.com">TELERIK</a>
            </AppointmentTemplate>       
    </telerik:RadScheduler>

All the best,
Plamen Zdravkov
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
Lindsay Miles
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Lindsay Miles
Top achievements
Rank 1
Share this question
or