This is a migrated thread and some comments may be shown as answers.

[Solved] ERROR:Object reference not set to an instance of an object

1 Answer 120 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mostafa Tehrani
Top achievements
Rank 1
Mostafa Tehrani asked on 15 Nov 2009, 11:45 AM
Hi,
i use RadAjaxManager in radgrid telerik q3 2009 in my dnn module and i see this error:
Object reference not set to an instance of an object.(i use this sample   http://demos.telerik.com/aspnet-ajax/ajax/examples/manager/dynamicajaxsettings/defaultcs.aspx?product=grid   )
this is pieces my code that errror occur this:              
 (RadAjaxManager.GetCurrent(this.Page) as RadAjaxManager).AjaxSettings.AddAjaxSetting(editButton, this.Page.FindControl("pnlgrd"), this.Page.FindControl("RadAjaxLoadingPanel1") as RadAjaxLoadingPanel);
please help me to solve this problems.
very thanks.

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 16 Nov 2009, 04:02 PM
Hello,

Can you verify using the debugger what exactly is null in this case?

All the best,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Grid
Asked by
Mostafa Tehrani
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or