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

Schedule dialog without the day/month view behind it

3 Answers 69 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Ed
Top achievements
Rank 1
Ed asked on 23 Apr 2015, 03:33 AM

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

3 Answers, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 23 Apr 2015, 06:20 AM
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!
 
0
Ed
Top achievements
Rank 1
answered on 23 Apr 2015, 04:37 PM

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

0
Plamen
Telerik team
answered on 27 Apr 2015, 06:12 AM
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!
 
Tags
Scheduler
Asked by
Ed
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Ed
Top achievements
Rank 1
Share this question
or