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

Additional data for datasource requests are completely broken

9 Answers 119 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
iCognition
Top achievements
Rank 1
Iron
iCognition asked on 20 Jan 2014, 12:40 AM

I have code that looks something like this, the data provided by the additionalData function is never sent or received, only the default kendo request parameters are (sort, filter, etc).

Please fix ASAP.

<script>
    function additionalData() {
        return {
            Word: "Bird",
            Number: 9001
        };
    }
</script>
 
@(Html.Kendo().Grid<KendoUIMvcApplication1.Models.TestModel>()
    .Name("Grid")
    .DataSource(dataSource =>
    {
        dataSource.Ajax().Read(read => read.Action("Read", "Home").Data("additionalData"));
    }))

9 Answers, 1 is accepted

Sort by
0
Peter
Top achievements
Rank 1
answered on 20 Jan 2014, 11:27 AM
I can replicate this behaviour - the regression appears to be with the kendo.aspnetmvc.min.js file in version 2013.3.1316 - I am logging a ticket with sample projects and possible solution/line responsible for the change.
0
Peter
Top achievements
Rank 1
answered on 20 Jan 2014, 12:39 PM
For the benefit of Kendo staff, ticket 778179 has been submitted providing a complete demonstration of this issue - and the code I believe to be at fault.
0
Travis
Top achievements
Rank 1
answered on 20 Jan 2014, 01:48 PM
I have also submitted a ticket with code examples and can verify this is broken. This needs to fixed asap.
0
Poh Joon
Top achievements
Rank 1
answered on 21 Jan 2014, 01:36 AM
Telerik has said this is a known issue and will be fixed on the next
internal build, not sure when is the date. I used back the previous
version of kendo.aspnetmvc js seem to work fine for now.
0
Travis
Top achievements
Rank 1
answered on 21 Jan 2014, 02:14 PM
Thanks Poh, they told me the internal build should be out today.
0
Christopher
Top achievements
Rank 1
answered on 21 Jan 2014, 03:56 PM
Same problem, reverting kendo.aspnetmvc.js to 2013.3.1119 seems to have fixed it for me also.
0
Daniel
Telerik team
answered on 21 Jan 2014, 08:15 PM
Hello all,

The issue is fixed and an internal build is now 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!
0
iCognition
Top achievements
Rank 1
Iron
answered on 21 Jan 2014, 10:05 PM
Can someone from Telerik comment here publicly?

To be honest the private ticket system is stupid, you have to reply to many people for the same thing, and then you don't reply to others who can't be bothered to file one.
0
Poh Joon
Top achievements
Rank 1
answered on 22 Jan 2014, 05:33 AM
I have update to 2013.3.1321 and work fine now but need to keep monitoring in case they break somewhere else.
Tags
General Discussions
Asked by
iCognition
Top achievements
Rank 1
Iron
Answers by
Peter
Top achievements
Rank 1
Travis
Top achievements
Rank 1
Poh Joon
Top achievements
Rank 1
Christopher
Top achievements
Rank 1
Daniel
Telerik team
iCognition
Top achievements
Rank 1
Iron
Share this question
or