Scheduler Resources

4 posts, 1 answers
  1. Lindsay Miles
    Lindsay Miles avatar
    75 posts
    Member since:
    Dec 2009

    Posted 25 Jul 2011 Link to this post

    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
  2. Answer
    Plamen
    Admin
    Plamen avatar
    2968 posts

    Posted 26 Jul 2011 Link to this post

    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!

  3. Lindsay Miles
    Lindsay Miles avatar
    75 posts
    Member since:
    Dec 2009

    Posted 26 Jul 2011 Link to this post

    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
  4. Plamen
    Admin
    Plamen avatar
    2968 posts

    Posted 29 Jul 2011 Link to this post

    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.

Back to Top