This question is locked. New answers and comments are not allowed.
Hello community,
I have found a bug on grid when using ajax binding.
i have attached some images that shows the bug i'm reporting.
the image gridreadmode.png represents the grid on the first time it is rendered. so far so good.
the problem happens when we click on edit button, the grid duplicate the update and delete buttons. see this on grideditmode.png
Next if we click on update button the grid returns to normal: rendering only one delete button and one update button.
when we click on cancel button the grid row turns into multi-line and put the two surplus buttons below the two normal buttons. You can see this on gridaftercancel.png
hope someone help me whit one workaround.
best regards
7 Answers, 1 is accepted
0
Hi Marco,
I believe we have fixed this bug already. Please stay tuned for the official Q1 2010 release which should be a fact soon.
Regards,
Atanas Korchev
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items.
I believe we have fixed this bug already. Please stay tuned for the official Q1 2010 release which should be a fact soon.
Regards,
Atanas Korchev
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items.
0
Mah Yuen Lung
Top achievements
Rank 1
answered on 29 Jun 2010, 06:19 PM
This doesn't seems resolved in build 2010.1 309
0
H
Top achievements
Rank 1
answered on 17 Sep 2010, 05:07 PM
We're having a similar problem using the latest release, 2010.2.825.
We're using Ajax editing & have an Edit button and a Delete button in 2 separate columns.
On initial entry it's fine.
When you click on the Edit button, it displays the Update & Cancel buttons in both the Edit button column & the Delete button column & does not display a Delete button.
I can recreate this in the sample project EditingAjax.aspx by changing it to put the Edit & Delete buttons in separate columns.
For now my workaround is to put the Edit & Delete buttons in the same column, but is there a better fix for this?
We're using Ajax editing & have an Edit button and a Delete button in 2 separate columns.
On initial entry it's fine.
When you click on the Edit button, it displays the Update & Cancel buttons in both the Edit button column & the Delete button column & does not display a Delete button.
I can recreate this in the sample project EditingAjax.aspx by changing it to put the Edit & Delete buttons in separate columns.
For now my workaround is to put the Edit & Delete buttons in the same column, but is there a better fix for this?
0
Hello H,
I was able to reproduce the problem and confirm that it is a bug. You can easily fix it by modifying the telerik.grid.editing.js file which is part of the source code distribution. Replace this code:
if (c.commands)
this.appendCommandHtml(commands, html);
with this:
if (c.commands) {
var hasEditCommand = $.grep(c.commands, function(cmd) { return cmd.name == 'edit'})[0];
this.appendCommandHtml(hasEditCommand ? commands : c.commands, html);
}
I have updated your telerik points.
Regards,
Atanas Korchev
the Telerik team
I was able to reproduce the problem and confirm that it is a bug. You can easily fix it by modifying the telerik.grid.editing.js file which is part of the source code distribution. Replace this code:
if (c.commands)
this.appendCommandHtml(commands, html);
with this:
if (c.commands) {
var hasEditCommand = $.grep(c.commands, function(cmd) { return cmd.name == 'edit'})[0];
this.appendCommandHtml(hasEditCommand ? commands : c.commands, html);
}
I have updated your telerik points.
Regards,
Atanas Korchev
the Telerik team
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 Public Issue Tracking
system and vote to affect the priority of the items
0
H
Top achievements
Rank 1
answered on 20 Sep 2010, 03:26 PM
Thanks.
I found the code to change, but I'm not sure what to do then - do I use that script in place of the telerik.grid.editing.min.js in my current Scripts folder?
I found the code to change, but I'm not sure what to do then - do I use that script in place of the telerik.grid.editing.min.js in my current Scripts folder?
0
Hello H,
Atanas Korchev
the Telerik team
Yes. You also need to delete the original telerik.grid.editing.min.js file.
All the best,Atanas Korchev
the Telerik team
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 Public Issue Tracking
system and vote to affect the priority of the items
0
H
Top achievements
Rank 1
answered on 20 Sep 2010, 04:19 PM
Thank you - it works great now.