Jump to content
Software FX Community
jvwiv

Tying Datasource to Grid Issue

Recommended Posts

jvwiv    0

Guys,

I have a form that was working fine prior to taking the upgrade, but now receive the error shown below.  I've recreated the form in steps and have recreated the point in time when the error occurs, when I create a data grid on the screen and attach it to the data source that utilizes the stored proc.  The data source (stored proc) runs fine until it's attached to the grid.  Once it's attached to the grid, the following error occurs.

 Any thoughts?

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:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[NullReferenceException: Object reference not set to an instance of an object.]   he.a(IEnumerable A_0) +23   GridFX.WebForms.Grid.a(DataSourceSelectingEventArgs A_0) +1408   GridFX.WebForms.Grid.ab() +442   pq.m() +83   pq.a() +127   pq.e() +42   GridFX.WebForms.Grid.ac() +88   GridFX.WebForms.Grid.OnPreRender(EventArgs e) +36   System.Web.UI.Control.PreRenderRecursiveInternal() +77   System.Web.UI.Control.PreRenderRecursiveInternal() +161   System.Web.UI.Control.PreRenderRecursiveInternal() +161   System.Web.UI.Control.PreRenderRecursiveInternal() +161   System.Web.UI.Control.PreRenderRecursiveInternal() +161   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1360

Share this post


Link to post
Share on other sites
AngelR    0

Can you send us the code behind and your web page Markup? It can help us reproduce your issue.

I'll look forward for your answer.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×