Hi,
I am using an HTML Button (Say Save) Outside Kendo Grid toolbar to save the data.
On Button click I have called the JavaScript function and from JavaScript I am calling the saveChanges method that fires my events in controller.
I have following four events written in controller.
Editing_Create, Editing_Update, Editing_Destroy and Save. The events are also getting fired.
My question is if I add, update and delete some records from the grid and hit the Save Button, what is the sequence in which the above four controller action will get executed. Currently it is getting executed in any random order each time.
Please advice.
Regards,
Mahendra


Hi,
I need to get hold of the Column click event,I managed to get the row click event through 'onchange',I was able to set a class for this particular column too but I am clueless on how to identify the column on which the click event took place.Please help me out here.
Thanks in advance,
Didi

Hello,
I'm stumped, and could use some direction. If you can provide me a clue, I'd appreciate it.
In my app, I have a view containing a grid. Each row of the grid corresponds to a Job. Each Job has a Schedule, itself an object, as one of the Job's members.
So, from this grid in which each row corresponds to a Job, I need to be able to open a partial view in which to edit a Job's schedule. (In each row, I can edit the Job data members that are simple types. But to edit its Schedule, I need to open a partial view.)
I am aware that there is a Window control. That may be the appropriate mechanism for opening the partial view. There is the matter of passing the appropriate model object to the partial view, which would be the Job's Schedule.
Here's what the grid looks like, minus any column for the Schedule (I don't know what that looks like yet.)
@Html.Kendo().Grid(Model).Name("JobsRecurringGridEx").DataSource(d => d.Ajax()
.Model(m =>
{
m.Id(o => o.ID);
m.Field(o => o.ID).Editable(false);
})
.Batch(true)
.Read(r => r.Action("GetJobsRecurringAll", "JobsRecurring"))
.Update(r => r.Action("UpdateJobsRecurring", "JobsRecurring"))
.Create(r => r.Action("AddJobsRecurring", "JobsRecurring"))
).Columns(col =>
{
col.Bound(o => o.ID);
col.Bound(o => o.JOB_NAME).EditorTemplateName("String");
col.Bound(o => o.DBID).EditorTemplateName("String");
col.Bound(o => o.PARAMETER_1).Hidden(true).EditorTemplateName("String");
col.Bound(o => o.PARAMETER_2).Hidden(true).EditorTemplateName("String");
col.Bound(o => o.PARAMETER_3).Hidden(true).EditorTemplateName("String");
col.Bound(o => o.PARAMETER_4).Hidden(true).EditorTemplateName("String");
col.Bound(o => o.PARAMETER_5).Hidden(true).EditorTemplateName("String");
col.Bound(o => o.PARAMETER_6).Hidden(true).EditorTemplateName("String");
col.Bound(o => o.PARAMETER_7).Hidden(true).EditorTemplateName("String");
col.Bound(o => o.PARAMETER_8).Hidden(true).EditorTemplateName("String");
col.Bound(o => o.PARAMETER_9).Hidden(true).EditorTemplateName("String");
col.Bound(o => o.PARAMETER_10).Hidden(true).EditorTemplateName("String");
col.Bound(o => o.START_RUN_DATE_TIME);
col.Bound(o => o.LAST_RUN_DATE_TIME);
col.Bound(o => o.NEXT_RUN_DATE_TIME).EditorTemplateName("DateTime");
col.Bound(o => o.SEED_RUN_DATE_TIME).EditorTemplateName("DateTime");
col.Bound(o => o.RUN_INTERVAL).EditorTemplateName("Integer");
col.Bound(o => o.ACTIVE);
col.Bound(o => o.PAUSED).Hidden(true);
col.Bound(o => o.CREATED_BY).Hidden(true).EditorTemplateName("String"); ;
col.Bound(o => o.CREATED_DATE_TIME).Hidden(true).EditorTemplateName("DateTime");
}).Editable(e => e.Mode(GridEditMode.InCell)).ToolBar(tb => { tb.Create(); tb.Save(); }).Sortable().Filterable().Pageable()
The partial view that I need to use in order to edit a Job's Schedule is "~/Views/JobSchedule/_Index.cshtml".

The code below works fine. I need to add a column to the grid that shows an image
(bound or not bound I don't care as long as the image shows and not the model property).
The new column should launch a Kendo Window widget with a string property of the model
serving as the input content of the Kendo Window. The property on the model might be something like
model.FailureMessage.
Thanks,
Html.Kendo().Grid(Model.AppointmentList).Name("FailedAppointments")
.Columns(columns =>
{
columns.Bound(o => o.MemberFirstName).Title("Member First Name").Width(50);
columns.Bound(o => o.MemberLastName).Title("Member Last Name").Width(50);
columns.Bound(o => o.ClientMemberID).Title("Client ID").Width(50);
columns.Bound(o => o.ProviderID).Title("Provider ID").Width(50);
columns.Bound(o => o.ProviderFirstName).Title("Provider First Name").Width(50);
columns.Bound(o => o.ProviderLastName).Title("Provider Last Name").Width(50);
columns.Bound(o => o.AppointmentDate).Title("Appointment Date").Width(50);
columns.Bound(o => o.IHAAppointmentID).Hidden(true);
})
.Pageable(pager => pager.PageSizes(true))
.Sortable(sorting => sorting.SortMode(Kendo.Mvc.UI.GridSortMode.SingleColumn))
.Scrollable(scrolling => scrolling.Height(300))
.TableHtmlAttributes(new { Class = "dataGridTable" })

There is censored network in Mainland China. Everything from the servers which are not in Mainland China is slow.
So if I want to improve the static files' loading performance, can I put the Telerik's static files(include the themes) on our own CDN, which files should we do?
Hi,
Our DatePicker's Validation Message is overlapping with the DatePicker's input. I attached an image of the problem.
It seems that the <span> element containing the validation message is in the wrong location for the DatePicker. On the same page we have a ComboBox, which has the validation <span> element one level higher than the DatePicker. I tried this in Chrome and moved this element:
<span class="k-widget k-tooltip k-tooltip-validation k-invalid-msg field-validation-error" data-for="SubscribeTill" data-valmsg-for="SubscribeTill" id="SubscribeTill_validationMessage" role="alert">
up one level, from inside this element:
<span class="k-picker-wrap k-state-default">
to inside this element:
<span class="k-widget k-datepicker k-header">
And after this, it seems to work exactly like the ComboBox.
It seems this is a bug, but we kind of need this working right now. Is there a way we can move this span manually?
Sincerely,
Tim
