The data is loading in the dropdown but when the client insert fires, it shows the dropdown index value as 'undefined' in the javascript:
function insertRow(grid,rowId)
{
grid.EditComplete();
if (typeof(grid.Data[rowId]) != 'undefined')
{
if (grid.Data[rowId][1][0] == '')
{
alert('You cannot insert a row without selecting a test.');
grid.Delete(grid.GetRowFromClientId(rowId));
}
else if (grid.Data[rowId][2][0] == '')
{
alert('You cannot insert a row without selecting a test result.');
grid.Delete(grid.GetRowFromClientId(rowId));
}
}
}
The when I attempt to edit with the edit command, the dropdown will not appear.
Are there any examples out there with a dropdown used in a server template?