Allow Multiple Resources

4 posts, 0 answers
  1. Jason Kergosien
    Jason Kergosien avatar
    14 posts
    Member since:
    Mar 2007

    Posted 07 Dec 2007 Link to this post

    In this RadSchedule demo, it mentions that you can use AllowMultipleValues for a resource to allow a many to many relationship. How do you do that with a SQL Server data source?
  2. T. Tsonev
    T. Tsonev avatar
    2822 posts

    Posted 10 Dec 2007 Link to this post

    Hello Jason Kergosien,

    Unfortunately, the standard data source controls are not suitable for the purpose. A custom provider is needed in order to maintain the many-to-many relationship (a cross-link table in this case).  An example of a provider that supports multiple resource values and stores its data in an SQL database is available here. The documentation contains a detailed walk-through of the process of creating this particular provider. The source code is available in the App_Code/Scheduler folder of the live demos.

    Kind regards,
    Tsvetomir Tsonev
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Allen
    Allen avatar
    111 posts
    Member since:
    Apr 2012

    Posted 04 May 2012 Link to this post

    Do you have the VB code for this?
  4. Peter
    Peter avatar
    6637 posts

    Posted 07 May 2012 Link to this post

    Hello Allen,

    We don't have a VB version of the provider, but you can use our code converter tool.

    I have noticed the links in the previos post are no longer valid so please use this one - Implementing A Provider.

    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top