This is a migrated thread and some comments may be shown as answers.
Can't open appointment window
1 Answer 8 Views
This is a migrated thread and some comments may be shown as answers.
Roberto
Top achievements
Rank 1
Roberto asked on 25 Feb 2014, 02:08 PM
@(Html.Kendo().Scheduler<Services.AspNet.Mvc.Areas.Services_CreateServiceOrder.ProjectionsScheduler>()
.Name("scheduler")
.Date(DateTime.Today)
.StartTime(new DateTime(2013, 6, 13, 7, 00, 00))
.EndTime(new DateTime(2013, 6, 13, 19, 00, 00))
.Height(350)
.AllDaySlot(false)
.Views(views =>views.DayView();})
.Group(group => group.Resources("Technicals"))
.Timezone("Etc/UTC")
.Resources(resource =>   {
resource.Add(m => m.TechnicalId)
.Title("Technical")
.Name("Technicals")
.DataTextField("Text")
.DataValueField("Value")
.BindTo(ViewBag.Technicals);})
.BindTo(Model)
.DataSource(d => d.ServerOperation(true)
.Model(m =>{
m.Id(f => f.TechnicalId);
m.Field(f => f.Description).DefaultValue("No title");
m.Field(f => f.IsAllDay).DefaultValue(false);
})
.Create("Grouping_Horizontal_Create", "CServiceOrder")
.Destroy("Grouping_Horizontal_Destroy", "CServiceOrder")
.Update("Grouping_Horizontal_Update", "CServiceOrder")
)
)

I can't open a window to create or edit the appointment when I click in Scheduler. I also need to change the appointment's title because now is showing the hours.  

Here is my Scheduler code:

@(Html.Kendo().Scheduler<Services.AspNet.Mvc.Areas.Services_CreateServiceOrder.ProjectionsScheduler>()
.Name("scheduler")
.Date(DateTime.Today)
.StartTime(new DateTime(2013, 6, 13, 7, 00, 00))
.EndTime(new DateTime(2013, 6, 13, 19, 00, 00))
.Height(350)
.AllDaySlot(false)
.Views(views =>
{
views.DayView();
})
.Group(group => group.Resources("Technicals"))
.Timezone("Etc/UTC")
.Resources(resource =>
{
resource.Add(m => m.TechnicalId)
.Title("Technical")
.Name("Technicals")
.DataTextField("Text")
.DataValueField("Value")
.BindTo(ViewBag.Technicals);
})
.BindTo(Model)
.DataSource(d => d.ServerOperation(true)
.Model(m =>
{
m.Id(f => f.TechnicalId);
m.Field(f => f.Description).DefaultValue("No title");
m.Field(f => f.IsAllDay).DefaultValue(false);
})
.Create("Grouping_Horizontal_Create", "CServiceOrder")
.Destroy("Grouping_Horizontal_Destroy", "CServiceOrder")
.Update("Grouping_Horizontal_Update", "CServiceOrder")
)
)

1 Answer, 1 is accepted

Sort by
0
Rosen
Telerik team
answered on 26 Feb 2014, 07:53 AM
Hi Roberto,

I'm afraid that it is not clear what may be the cause for the described behavior looking at the provided details. Therefore, please prepare a small runnable sample in which this issue can be observed locally and send it back to us for further investigation.

Regards,
Rosen
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Asked by
Roberto
Top achievements
Rank 1
Answers by
Rosen
Telerik team
Share this question
or