Hello Dietmar,
The Grid creates textboxes with
name and
id attributes during editing. If you are using the same data fields in the two Grids, the names and ids will turn out to be the same, which should not be allowed. You have two options:
1. use different field names in the Grids' datasources.
or
2. ensure that users are not able to enter edit mode in one Grid before explicitly exiting edit mode in all other Grids. The easiest option is to use modal popup editing. Alternative solutions that require custom coding include: hiding butttons or Grids when needed; adding some transparent overlays over the non-edited Grids, so that they are not clickable, etc.
The weird thing that you reported is quite logical and expected - when there are two elements with the same ID on the page, referencing this ID will return the first element, so the new edit widgets are successfully initialized.
Regards,
Dimo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework -
download Kendo UI now!