Hi
After updating to the latest version the grid fails to add additional data.
I have this datasource definition:
.DataSource(dataSource => dataSource
.Ajax()
.Events(events => events.Error("error_handler").RequestEnd("OnRequestEnd"))
.Batch(true)
.PageSize(15)
.Sort(s => s.Add("SentDate").Descending())
.Model(model =>
{
model.Id(p => p.Id);
})
.Read(read => read.Action("GetPayDayMessages", "Message").Data("GetFilterData"))
.Update(update => update.Action("UpdateMessages", "Message"))
.ServerOperation(true)
)
My javascript method looks like this:
<script type="text/javascript">
function GetFilterData() {
return {
Closed: $("#ChkShowClosed").prop('checked'),
ShowWaitingForClose: $("#ChkShowWaitingForClose").prop('checked')
};
}
</script>
The GetFilterData is called but the data is never added to the call to the server.
This worked fine in the previous version.
Can i make some change to make it work ?
After updating to the latest version the grid fails to add additional data.
I have this datasource definition:
.DataSource(dataSource => dataSource
.Ajax()
.Events(events => events.Error("error_handler").RequestEnd("OnRequestEnd"))
.Batch(true)
.PageSize(15)
.Sort(s => s.Add("SentDate").Descending())
.Model(model =>
{
model.Id(p => p.Id);
})
.Read(read => read.Action("GetPayDayMessages", "Message").Data("GetFilterData"))
.Update(update => update.Action("UpdateMessages", "Message"))
.ServerOperation(true)
)
My javascript method looks like this:
<script type="text/javascript">
function GetFilterData() {
return {
Closed: $("#ChkShowClosed").prop('checked'),
ShowWaitingForClose: $("#ChkShowWaitingForClose").prop('checked')
};
}
</script>
The GetFilterData is called but the data is never added to the call to the server.
This worked fine in the previous version.
Can i make some change to make it work ?
6 Answers, 1 is accepted
0
Steve
Top achievements
Rank 1
answered on 21 Jan 2014, 04:55 PM
I am having the same problem. The specified function is called but no additional parameters are sent to the server.
Was working fine in 2013.3.1119, but not in 2013.3.1316.
Steve
Was working fine in 2013.3.1119, but not in 2013.3.1316.
Steve
0
Winnie
Top achievements
Rank 1
answered on 21 Jan 2014, 06:25 PM
Ok then it is not just me.
Thanks for your reply.
Thanks for your reply.
0
Oleg
Top achievements
Rank 1
answered on 21 Jan 2014, 08:54 PM
I've posted the same problem in KendoUI Grid forum.
Yet to be replied.
http://www.kendoui.com/forums/kendo-ui-web/grid/grid-refresh-is-broken-in-2013-3-1316-340.aspx
Yet to be replied.
http://www.kendoui.com/forums/kendo-ui-web/grid/grid-refresh-is-broken-in-2013-3-1316-340.aspx
0
Hello all,
This is a known issue in the service pack that is already fixed. Please update the version that you are using to the latest internal build.
Regards,
Daniel
Telerik
This is a known issue in the service pack that is already fixed. Please update the version that you are using to the latest internal build.
Regards,
Daniel
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Keith
Top achievements
Rank 1
answered on 30 Jan 2014, 08:59 PM
Hi all,
I've been stuck all day on this - glad I found this post.
I am currently assessing Kendo MVC and using the trial version 2013.3.1313
Daniel, is there any way of getting a later version (besides purchasing)? I am in the middle of a "proof of concept" and looking to persuade business owners that Kendo MVC is the way to go.
My code looks ok as far as I know:
@(Html.Kendo().Grid(Model)
.Name("ProcessesGrid")
.DataSource(datasource =>
datasource
.Ajax().Read(read => read.Action("ListProcesses", "Process").Data("additionalData"))))
<script>
function additionalData() {
//alert('Hitting javascript')
return {
testParam: 2
};
}
[HttpPost]
public ActionResult ListProcesses([DataSourceRequest]DataSourceRequest request, int? testParam)
Thanks,
Keith
I've been stuck all day on this - glad I found this post.
I am currently assessing Kendo MVC and using the trial version 2013.3.1313
Daniel, is there any way of getting a later version (besides purchasing)? I am in the middle of a "proof of concept" and looking to persuade business owners that Kendo MVC is the way to go.
My code looks ok as far as I know:
@(Html.Kendo().Grid(Model)
.Name("ProcessesGrid")
.DataSource(datasource =>
datasource
.Ajax().Read(read => read.Action("ListProcesses", "Process").Data("additionalData"))))
<script>
function additionalData() {
//alert('Hitting javascript')
return {
testParam: 2
};
}
[HttpPost]
public ActionResult ListProcesses([DataSourceRequest]DataSourceRequest request, int? testParam)
Thanks,
Keith
0
Hello Keith,
The latest service pack release(2013.3.1324) contains the fix for the problem and is available for download from your account.
Regards,
Daniel
Telerik
The latest service pack release(2013.3.1324) contains the fix for the problem and is available for download from your account.
Regards,
Daniel
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!