Scheduler Resource

3 posts, 3 answers
  1. Answer
    Roy
    Roy avatar
    2 posts
    Member since:
    Jan 2013

    Posted 14 Aug 2013 Link to this post

    I am looking for sample code showing Scheduler with multiple Resources bound to external data, Please can anyone help.
  2. Answer
    Rosen
    Admin
    Rosen avatar
    3234 posts

    Posted 15 Aug 2013 Link to this post

    Hi Roy,

    As you may know the resource dataSource configuration is used to construct a DataSource instance. Therefore, you may configure it the same way as a regular DataSource with remote data. Here you can find a test page which demonstrate this.

    Regards,
    Rosen
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Kendo UI is VS 2017 Ready
  4. Answer
    CW
    CW avatar
    12 posts
    Member since:
    Nov 2012

    Posted 15 Aug 2013 Link to this post

    Check this out 
      .Resources(resource =>
        {
            resource.Add(m => m.keyTask)
                .Title("Task")
                .DataTextField("Text")
                .DataValueField("Value")
                //.DataColorField("Color")
                .DataSource(dt => dt
                .Read(read => read.Action("your Action", "your controller")));
        })
Back to Top