Object reference not set to an instance of an object.
Description:
An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
Line 2586: protected void gv_RowDataBound(object sender, GridViewRowEventArgs e)
Line 2587: {
Line 2588: ((TextBox)e.Row.FindControl("textbox")).Attributes.Add("OnChange", "javascript:rowno(" + e.Row.RowIndex + ")"); Line 2589: }
Line 2590:}
Source File: c:\Documents and Settings\jayshree.MAIN_SERVER\Desktop\project1182010\SalProcess.aspx.cs Line:
2588
Jayshree
Member
94 Points
95 Posts
Re: How to get row number from gridview on textbox change event using javascript without page ref...
Feb 23, 2012 04:25 AM|LINK
Thanks for reply me....
This error show...
Server Error in '/project1182010' Application.
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
Line 2586: protected void gv_RowDataBound(object sender, GridViewRowEventArgs e) Line 2587: { Line 2588: ((TextBox)e.Row.FindControl("textbox")).Attributes.Add("OnChange", "javascript:rowno(" + e.Row.RowIndex + ")"); Line 2589: } Line 2590:}Source File: c:\Documents and Settings\jayshree.MAIN_SERVER\Desktop\project1182010\SalProcess.aspx.cs Line: 2588