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

[Solved] Add record in batch edit mode gives me issues

4 Answers 86 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Bob
Top achievements
Rank 1
Bob asked on 17 Jan 2012, 10:29 PM
Once gain, I have a grid in Batch edit mode (GridEditMode.InCell). When I add the first row, everything works fine. However, when I add the second row it seems to get lost. It adds the row and puts focus on the first column. However, when I tab (I also have editontab(true)) it moves back to the row that had focus when I pressed the Add Row button. 

When my onSave fires it says the value that I just entered is null.. so it seems like some binding is not happening or something.

I thought it might be the code in my onEdit even handler.. but I removed it all and I still see this behavior. 

It seems to not happen if I turn of EditOnTab. 

Can you guys duplicate this?

BOb


4 Answers, 1 is accepted

Sort by
0
Bob
Top achievements
Rank 1
answered on 17 Jan 2012, 10:36 PM
Another issue, if I put a cell into edit mode, and I click off it without changing the value.. the dirty indicator (little red marker) displays. 

Why is that? Is this a bug?

Does anyone use the editing features of your grid... it is so buggy in edit mode that I'm really to toss it in find something else.

BOb
0
Georgi Tunev
Telerik team
answered on 19 Jan 2012, 10:41 AM
Hello Bob,

 The first problem is already fixed in the latest internal build of the MVC suite. As for the second one, I tried to reproduce it locally, but to no avail. Could you please provide more details (reproduction steps and / or a sample project)?

Regards,
Georgi Tunev
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now
0
Bob
Top achievements
Rank 1
answered on 21 Jan 2012, 01:10 AM
I have created a video capture of the second issue. Notice the grid has 1 row in it... this was retrieved from Ajax and is an existing record.

Notice if I click into the fiscal year field and then move off it the little dirty indicator is there even though I made no change to the value.

http://screencast.com/t/oo348O6E2K9b

BOb
0
Georgi Tunev
Telerik team
answered on 24 Jan 2012, 04:25 PM
Hi Bob,

I tried to reproduce the problem locally, with several and with only one record, but everything worked as expected. Maybe we are missing something, but without being able to reproduce the problem locally, we can't be of much help. Could you please send such project?


Kind regards,
Georgi Tunev
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now
Tags
Grid
Asked by
Bob
Top achievements
Rank 1
Answers by
Bob
Top achievements
Rank 1
Georgi Tunev
Telerik team
Share this question
or