Schedule dialog without the day/month view behind it

4 posts, 0 answers
  1. Ed
    Ed avatar
    168 posts
    Member since:
    Sep 2013

    Posted 22 Apr 2015 Link to this post

    We will be having two pages to manage schedules (create, edit/delete). To create a schedule, we will have a page with a grid on it, where the user will select which report they want to schedule and click a button to schedule it.  I would like to have the schedule controls either on their own page (click btn navigates to that page) or in a popup directly from the grid (this depends on how many other form elements we need in the schedule info: email info, report name, etc).

    There will be another page where the user can manage the schedules and that would be a more appropriate page to edit/delete scheduled reports.

    How can I do this without having the rest of the scheduler on screen (i.e. the day/month/calendar view)?

    Thanks,

    --Ed

  2. Plamen
    Admin
    Plamen avatar
    2966 posts

    Posted 23 Apr 2015 Link to this post

    Hi Ed,

    In such scenario we would rather recommend using RadScheduler in a separate page and navigate to it. You can set the Scheduler with only Week view by only declaring the week in the views array as in this sample.

    Hope this information will be helpful.

    Regards,
    Plamen
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Ed
    Ed avatar
    168 posts
    Member since:
    Sep 2013

    Posted 23 Apr 2015 in reply to Plamen Link to this post

    Hi Plamen,

    We are using MVC and would prefer not to use WebForms controls. Is there a way to do this with the Kendo UI framework?

    Thanks,

    --Ed

  4. Plamen
    Admin
    Plamen avatar
    2966 posts

    Posted 27 Apr 2015 Link to this post

    Hello Ed,

    Thank you for getting back to us.

    Yes in you can have only the WeekView in the MVC Scheduler by adding only the desired view. Here is changed code of this online demo which worked correctly at my side:
     
    @(Html.Kendo().Scheduler<Kendo.Mvc.Examples.Models.Scheduler.TaskViewModel>()
        .Name("scheduler")
        .Date(new DateTime(2013, 6, 13))
        .StartTime(new DateTime(2013, 6, 13, 7, 00, 00))
        .Height(400)
        .Timezone("Etc/UTC")
        .Views(views =>
        {
            views.WeekView(weekView => weekView.Selected(true));
        })
        .DataSource(d => d
            .Model(m => {
                m.Id(f => f.TaskID);
                m.Field(f => f.Title).DefaultValue("No title");
                m.RecurrenceId(f => f.RecurrenceID);
                m.Field(f => f.Title).DefaultValue("No title");
            })
            .Read("Read", "Scheduler")
            .Create("Create", "Scheduler")
            .Destroy("Destroy", "Scheduler")
            .Update("Update", "Scheduler")
        )
    )

    Hope this will help you solve the issue. If you need further assistance please don't hesitate to contact us again.


    Regards,
    Plamen
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
Back to Top