I'm new to Telerik RadControls. The app was developed with Q1 2007 but we upgraded to Q1 2008 and this isnt working since the upgrade:
I have a RadGrid with this:
<
ClientSettings >
<Selecting AllowRowSelect="True" />
<ClientEvents OnRowDblClick="OpenBusinessObject" />
</ClientSettings>
I double click on a row , it calls the JS code but breaks where I have Rows[index].
I've tried lots of things from these links:
http://www.telerik.com/community/forums/thread/b311D-mmcbk.aspx
http://www.telerik.com/community/forums/thread/b311D-mkttt.aspx
I've tried MasterViewTable, added ShowHeader="true", used uppercase, lowercase "Rows". But keep getting null for this.
function
OpenBusinessObject(index)
{
var props;
alert(index); // get an object here
var test = document.getElementById("ctl00_List_dgList_ctl00");
alert(test.rows.length); // gives me 22 rows which is correct
//var row = test.MasterTableView.Rows[index]; this didnt work. Get NULL
//alert(row);
var propsCol = test.GetCellByColumnUniqueName(test.Rows[index], "EditProp"); // error with Rows.[index]