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

Submit form containing grid and IE 8

5 Answers 59 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Régis
Top achievements
Rank 1
Régis asked on 04 Mar 2013, 02:27 PM

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,

5 Answers, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 06 Mar 2013, 03:15 PM
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!
0
Régis
Top achievements
Rank 1
answered on 06 Mar 2013, 03:43 PM

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,

0
Daniel
Telerik team
answered on 08 Mar 2013, 11:47 AM
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!
0
Chris
Top achievements
Rank 1
Veteran
Iron
Iron
answered on 15 Jul 2016, 02:22 AM

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

 

 

0
Kostadin
Telerik team
answered on 18 Jul 2016, 11:38 AM
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
Tags
Grid
Asked by
Régis
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Régis
Top achievements
Rank 1
Chris
Top achievements
Rank 1
Veteran
Iron
Iron
Kostadin
Telerik team
Share this question
or