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

Passing addtional parameters to Remote Read function stopped working

12 Answers 97 Views
Data Source
This is a migrated thread and some comments may be shown as answers.
Noah
Top achievements
Rank 1
Noah asked on 22 Jan 2014, 09:02 PM
Just tried to upgrade from 2013.2.918 to 2013.3.1316.

Existing code for a grid update that passed additional parameters to the datasource read remote method has stopped working. 

Data Source Definition Snippet..
.DataSource(ds => ds
         .Ajax()
         .ServerOperation(false)
         .Read(r => r.Action("_List", "Employee").Data("SetEmployeeGridData"))
function SetEmployeeGridData() {
    return { locationFilter: $('#locationFilter').val(),
                      departmentFilter: $('#departmentFilter').val(),
                      lastNameFilter: $('#lastNameFilter').val() };
    }
public ActionResult _List([DataSourceRequest] DataSourceRequest request, string locationFilter, string departmentFilter, string lastNameFilter)
       {
the refresh is triggered by something like this...
$('#EmployeeGrid').data('kendoGrid').dataSource.read();
Those filter values are being pulled from input fields.  I see the Data function being called and the .val() is evaluating correctly, but the MVC action only gets null values and fiddler shows nothing being passed in the request.  Maybe i missed something in my upgrade, but this code worked fine in 2013.2.918

12 Answers, 1 is accepted

Sort by
0
Noah
Top achievements
Rank 1
answered on 23 Jan 2014, 02:58 PM
Ok, I see that the latest internal build fixes this.  Thanks.
0
PAULO SERGIO CARNEIRO
Top achievements
Rank 1
answered on 24 Jan 2014, 02:41 PM
Any updates on this? I will have to rollback my version update because of this...

Thx!
0
Dev Team
Top achievements
Rank 1
answered on 29 Jan 2014, 10:57 PM
We are experiencing the same issue after upgrading to 2013.3.1316.

Please at least tell us when you plan on releasing the fix so we can choose whether or not to rollback our version.

Thanks.
0
Sebastian
Telerik team
answered on 30 Jan 2014, 08:52 AM
Hello guys,

Have you tried the internal build Noah mentioned, or better yet the latest official service pack release (2013.3.1324) we released this week? They should address the issue at hand.

Regards,
Sebastian
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
PAULO SERGIO CARNEIRO
Top achievements
Rank 1
answered on 30 Jan 2014, 11:28 AM
Ok, now is working. Thx!
0
Dev Team
Top achievements
Rank 1
answered on 30 Jan 2014, 02:30 PM
Can you tell me where I can download this latest build?

I do not see it anywhere on your site.  My account only shows up to internal build kendoui.aspnetmvc.internal.2013.3.1321.commercial for UI for ASP.NET MVC.
0
Dev Team
Top achievements
Rank 1
answered on 30 Jan 2014, 03:31 PM
I was able to find the download kendoui.web.2013.3.1324.commercial.

Can you tell me step by step how to manually install it?  I moved all the javascript files in the main "js" folder (not cultures folder though) and my issue still exists.

I also updated my kendo.mvc.dll to version 2013.3.1321.

Please someone help.
0
Sebastian
Telerik team
answered on 31 Jan 2014, 12:34 PM
Basically, you need to replace the scripts and styles in your project with these from the new version (2013.3.1324). If you use UI for ASP.NET MVC, you'll need to update the Kendo.Mvc assembly as well.

 In your case a shortcut might be to utilize our VS Extensions Upgrade Wizard for the update.

Regards,
Sebastian
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Dev Team
Top achievements
Rank 1
answered on 31 Jan 2014, 02:07 PM
Hi Sebastion,

#1 - There is no Kendo.MVC.dll file in the kendoui.web.2013.3.1324.commercial update folder.

#2 - The upgrade wizard inside of Visual Studio 2012 only goes up to version 2013.3.1316.

Please advise.
0
Dev Team
Top achievements
Rank 1
answered on 31 Jan 2014, 03:18 PM
I am also a bit confused on what you're saying, because there is a kendo web version and a ui for asp.net mvc.  

They both have different internal builds and now I can't even find the 1324 build anywhere.

I've attached a couple of screenshots for your review.
0
Sebastian
Telerik team
answered on 03 Feb 2014, 12:53 PM
Hello Javier,

Version 2013.3.1324 is an official service pack, hence you must not search for it under the latest internal builds list. It should be available under your account's Products & Subscriptions > DevCraft Complete > UI for ASP.NET MVC section (see clipped screen dump for reference).

Note that Kendo.Mvc.dll is only part of the Telerik UI for ASP.NET MVC distribution, as it includes the ASP.NET MVC server wrappers for our Kendo UI widgets.

It is odd that the upgrade wizard does not locate version 2013.3.1324 on our site, since I verified the settings for it are correct. You may file a separate support report for it if you continue to experience this issue.

Regards,
Sebastian
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Dev Team
Top achievements
Rank 1
answered on 03 Feb 2014, 04:27 PM
Ok, I downloaded it using the Telerik menu in Visual Studio and clicked the Download button and  it found the latest (2013.3.1324) version.

Thanks for your help!
Tags
Data Source
Asked by
Noah
Top achievements
Rank 1
Answers by
Noah
Top achievements
Rank 1
PAULO SERGIO CARNEIRO
Top achievements
Rank 1
Dev Team
Top achievements
Rank 1
Sebastian
Telerik team
Share this question
or