Click here to Skip to main content
15,897,090 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I FOUND an Exception :- Object reference not set to an instance of an object.
WHEN I rebind a Telerik radGrid ,used Line is :-
dgActivity.Rebind()

If you have any suggestion,please suggest me..
Posted
Updated 23-Jun-13 23:15pm
v2
Comments
José Amílcar Casimiro 24-Jun-13 7:46am    
Show us some code. :)

1 solution

Hi,

Normally, this error would occur, if the object which you are trying to access is null.

so, if you found that, this error is throwing from that line of code, then, the RadGrid Object dgActivity is null.

or else, if you have ItemDataBound event of the RadGrid in which you do not have try catch block. so the error thrown there is reflecting here.

so, debug thoroughly in each every line of code.

hope it helps.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900