Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
110
Object Reference not set to an instance of the object
posted

I am trying to implement a WebDataGrid on my application, but whenever I add it to a page, I get this error.

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.]
   Infragistics.Web.UI.Framework.AppStyling.CssBuilder.OnPreRenderComplete(Object sender, EventArgs e) +310
   System.Web.UI.Page.OnPreRenderComplete(EventArgs e) +121
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1155

 Not sure as to why I am getting it. Any help?

  • 235
    posted

    Hi jo Roy,

    Were you able to fix this problem , if yes please provide me solutions.

    Thanks

  • 20255
    Offline posted

    Hello,

    I am just following up to see if you need further assistance on this.

  • 20255
    Offline posted

    Hello Jo,

    Thank you for using our forum!

    In order to be able to assist you effectively would you be able to provide me with some additional information regarding your scenario? For example how your WebDataGrid is configured and what actions you perform, do you clear the data source or trying to Sort some column?

    Also providing a simple code snippet would be highly appreciated.

    Looking forward to hearing from you.