This question is locked. New answers and comments are not allowed.
I am using 2011.3.1306
I have an Ajax grid with a column bound to a property called StartDate. Outside of the grid is another separate form with an input with the same name. Both are using the DatePicker control. When the grid's Update button is pressed a javascript exception is thrown when the field in the external form is present. It appears as if the grid is finding both inputs and cannot set the value.
It looks like the grid is doing something like, for example:
$('input[name="StartDate"]').val(e.dataItem.StartDate)
instead of
$('.t-grid-edit-row input[name="StartDate"]').val(e.dataItem.StartDate)
I can rename one of the properties so that they don't conflict, but I was wondering if there are any other workarounds or if this is a bug, if it has been fixed in more recent/future releases.
I have an Ajax grid with a column bound to a property called StartDate. Outside of the grid is another separate form with an input with the same name. Both are using the DatePicker control. When the grid's Update button is pressed a javascript exception is thrown when the field in the external form is present. It appears as if the grid is finding both inputs and cannot set the value.
It looks like the grid is doing something like, for example:
$('input[name="StartDate"]').val(e.dataItem.StartDate)
instead of
$('.t-grid-edit-row input[name="StartDate"]').val(e.dataItem.StartDate)
I can rename one of the properties so that they don't conflict, but I was wondering if there are any other workarounds or if this is a bug, if it has been fixed in more recent/future releases.