-2
다음과 같이 RowDataBound
이벤트가 있습니다.격자에서 값을 검색하는 JavaScript
object element not found or not an object
가 왜이 오류가 점점 오전 :
protected void GridLedger_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
e.Row.Attributes.Add("onMouseDown", "var str = document.getElementById('" + e.Row.ClientID + "').cells[0].innerText; document.getElementById('<%=TextBox1.ClientID%>').value = str;");
}
}
, 나는 다음과 같은 오류를 얻고 때이 이벤트가 화재?
하이 다를 수 있습니다. pls 적절한 문장을 작성하는 시간이 걸릴까요? –