Hi,I'm using a DropDownList in a RowEditTemplate. I try to work with the exampleon http://devcenter.infragistics.com/Support/KnowledgeBaseArticle.aspx?ArticleID=5206If the RowEditTemplate opens, the DDL list has the value of the row displayed in the grid. But when I change the value of the DDL, the row will not be updated.Has anybody an idea?function UltraWebGrid1_AfterRowTemplateCloseHandler(gridName, rowId){ if(event.srcElement.id == "igtbl_reOkBtn") { var row = igtbl_getRowById(rowId); var combo = igdrp_getComboById("UltraWebGrid1xxctl0xWebDateChooser1"); var dd = document.getElementById("UltraWebGrid1__ctl0_DropDownList1"); row.getCell(0).setValue(combo.getValue()); row.getCell(1).setValue(dd.value);}}function UltraWebGrid1_BeforeRowTemplateOpenHandler(gridName, rowId, templateId){var row = igtbl_getRowById(rowId);var combo = igdrp_getComboById("UltraWebGrid1xxctl0xWebDateChooser1");var dd = document.getElementById("UltraWebGrid1__ctl0_DropDownList1");combo.setValue(row.getCell(0).getValue());dd.value = row.getCell(1).getValue();}
hey LCMG,
I was able to do this by using the document object. For example:
document.getElementById(
"UltraWebGrid1__ctl0_DropDownList1");
Hope this helps!