We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Object reference not set to an instance of an object.

Thread ID:

Created:

Updated:

Platform:

Replies:

92011 Dec 14,2009 10:59 AM UTC Dec 17,2009 03:27 PM UTC ASP.NET Web Forms (Classic) 1
loading
Tags: GridGroupingControl
Sateesh Jain
Asked On December 14, 2009 10:59 AM UTC


Hi

I have a GridGrouping Control in a WebUsercontrol. There is a ControlTemplate Column which contains a button to navigate to next page. I have to use SelectedRecordsChanged Event to display some information. But when i change the record first time it works, then it gives error Object reference not set to an instance of object. I have attached sample of the same herewith.
Can i get what's the wrong. It's Urgent.

Regards

Sateesh.







RDSTest_cda1ae1d.zip

Bharath M [Syncfusion]
Replied On December 17, 2009 03:27 PM UTC

Hi Sateesh,

Thank you for your interest in Syncfusion products.

We suggest you to raise your UpdateFooter event only after checking that it is not Null. In your sample, your UserControl's grdDispLay_SelectedRecordsChanged function called before Page_Load event raise. But you are assigning value to UpdateFooter event on Page_Load event only. We suggest you to add additional condition to check updateFooter is not null.

Let me know if you have any concerns.

Regards,
Bharath .M

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;