Submit form containing grid and IE 8

6 posts, 0 answers
  1. Régis
    Régis avatar
    2 posts
    Member since:
    Feb 2013

    Posted 04 Mar 2013 Link to this post

    Hello,

    We are currently trying to implement a form containing a datagrid using this tutorial : http://www.kendoui.com/code-library/mvc/grid/submit-form-containing-grid-along-with-other-input-elements.aspx.

    So far, we managed to configure the grid but we are facing a major drawback using IE8 which is the browser we are targeting. Actually, insertion and deletion of lines work flawlessly but we can edit the data only once right after creation. However, this doesn’t happen using Google Chrome, so we wanted to know if it was a known bug and if there is a workaround to make it work under IE8.

    Thanks in advance,

    Yours sincerely,

  2. Daniel
    Admin
    Daniel avatar
    2117 posts

    Posted 06 Mar 2013 Link to this post

    Hello,

    Could you elaborate a little more on the issue? What is the problem when trying to edit an already created item? Are there any JavaScript errors? It would be helpful if you could provide a runnable sample that reproduces the problem so I can investigate what exactly goes wrong?

    Kind regards,
    Daniel
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. UI for ASP.NET MVC is VS 2017 Ready
  4. Régis
    Régis avatar
    2 posts
    Member since:
    Feb 2013

    Posted 06 Mar 2013 Link to this post

    Hello,

     

    Thanks for your quick reply.

    The exact problem is that it is impossible to get the input working as expected. When clicking to edit a cell, we see that the input field is activated but is immediately disabled. There are no javascript errors, it seems like the field loses focus every time we try to edit it.

    The tutorial behaves also like that when following this procedure (under IE8) :

    -        Insert a new line

    -          Edit the line

    -          Insert a new line

    -          Edit the line

    -          Try to edit the first line (not working)

     

    Hope these details would be helpful to investigate further,

    Best regards,

  5. Daniel
    Admin
    Daniel avatar
    2117 posts

    Posted 08 Mar 2013 Link to this post

    Hi,

    Thank you for clarifying. I reproduced the problem on my side. This seem like some weird focus issue with the hidden input. At least on my side moving the cell text after the input resolves the problem:

    columns.Bound(p => p.Name).ClientTemplate(
            "<input type='hidden' name='Products[#= index(data)#].Name' value='#= Name #' />#= Name #"
          );
    Please check if this works on your side. Kind regards,
    Daniel
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  6. Chris
    Chris avatar
    33 posts
    Member since:
    Oct 2015

    Posted 14 Jul in reply to Daniel Link to this post

    HI

     

    Is there have any new/simple/official/built-in functionailty for <a href="http://www.kendoui.com/code-library/mvc/grid/submit-form-containing-grid-along-with-other-input-elements.aspx" target="_blank">this </a> in Telerik ASP.NET MVC 2016 ?

    ClientTemplate and data("kendoGrid").dataSource.data() just a little complex/unformal.

     

    Best regards

     

    Chris

     

     

  7. Kostadin
    Admin
    Kostadin avatar
    1711 posts

    Posted 18 Jul Link to this post

    Hello Chris,

    I am afraid there isn't an alternative solution. Nevertheless, you can create a new feedback item in our Feedback portal and vote for it. This way our developers can consider a possible implementation in future.

    Regards,
    Kostadin
    Telerik by Progress
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top
UI for ASP.NET MVC is VS 2017 Ready