You are on page 1of 1

Microsoft JScript runtime error: 'SelectedRow.

nextSibling' is null or not an obj
ect
--------------------------------------------------------------------------------
------------
grid.onscroll
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--
//if (gvStockEnq.Rows.Count == Rcount)
//{
//e.Row.TabIndex = -1;
//e.Row.Attributes["onkeypress"] = string.Format("javascript:Selec
tRow(this, {0});", e.Row.RowIndex);
//e.Row.Attributes["onkeydown"] = "javascript:return SelectSibli
ng(event);";
//e.Row.Attributes["onselectstart"] = "javascript:return false;"
;
//}

--------------------------------------------------------------------------------
-----------------------------------------
//protected void gvStockEnq_RowCreated(object sender, GridViewRowEventArgs e)
//{
// if (e.Row.RowType ==DataControlRowType.DataRow && (e.Row.RowState == D
ataControlRowState.Normal || e.Row.RowState == DataControlRowState.Alternate))
// {
// e.Row.TabIndex = -1;
// e.Row.Attributes["onclick"] = string.Format("javascript:SelectRow(
this, {0});", e.Row.RowIndex);
// e.Row.Attributes["onkeydown"] = "javascript:return SelectSibling(e
vent);";
// e.Row.Attributes["onselectstart"] = "javascript:return false;";
// }
//}
------------------------------
var btn = null;
// function ShowData(,keycode)
// {
// if (null == keycode)
// {
// keycode = window.event
// }
//
// {if (keycode.keyCode == 13)
// // Label1
//
// //document.getElementById("<%=btn.ClientID %>").click();
// document.getElementById(btn1).click();
// //document.getElementById('ctl00_ContentPlaceHolderBodyContain
er_btnSearch').click();
// return false;
// }
// }