Additional data for datasource requests are completely broken

10 posts, 0 answers
  1. Matt
    Matt avatar
    66 posts
    Member since:
    Apr 2012

    Posted 19 Jan 2014 Link to this post

    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"));
        }))

  2. Peter
    Peter avatar
    7 posts
    Member since:
    Aug 2013

    Posted 20 Jan 2014 Link to this post

    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.
  3. UI for ASP.NET MVC is VS 2017 Ready
  4. Peter
    Peter avatar
    7 posts
    Member since:
    Aug 2013

    Posted 20 Jan 2014 Link to this post

    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.
  5. Travis
    Travis avatar
    4 posts
    Member since:
    Jan 2013

    Posted 20 Jan 2014 Link to this post

    I have also submitted a ticket with code examples and can verify this is broken. This needs to fixed asap.
  6. Poh Joon
    Poh Joon avatar
    9 posts
    Member since:
    Feb 2012

    Posted 20 Jan 2014 Link to this post

    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.
  7. Travis
    Travis avatar
    4 posts
    Member since:
    Jan 2013

    Posted 21 Jan 2014 Link to this post

    Thanks Poh, they told me the internal build should be out today.
  8. Christopher
    Christopher avatar
    1 posts
    Member since:
    Mar 2013

    Posted 21 Jan 2014 Link to this post

    Same problem, reverting kendo.aspnetmvc.js to 2013.3.1119 seems to have fixed it for me also.
  9. Daniel
    Admin
    Daniel avatar
    2118 posts

    Posted 21 Jan 2014 Link to this post

    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!
  10. Matt
    Matt avatar
    66 posts
    Member since:
    Apr 2012

    Posted 21 Jan 2014 Link to this post

    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.
  11. Poh Joon
    Poh Joon avatar
    9 posts
    Member since:
    Feb 2012

    Posted 21 Jan 2014 Link to this post

    I have update to 2013.3.1321 and work fine now but need to keep monitoring in case they break somewhere else.
Back to Top
UI for ASP.NET MVC is VS 2017 Ready