Object reference not set to an instance of an object
Posted: Fri Sep 23, 2016 3:28 am
Hi,
I try to put a StiWebDesigner inside a DIV but not in a whole page, i found a response said to put
"StiWebDesigner1.Report = myReport;" instead to use "StiWebDesigner1.Design( myReport );"
but this cause the following error :
[NullReferenceException: Object reference not set to an instance of an object.]
Stimulsoft.Report.Web.StiWebDesigner.RegisterClientScriptBlockIntoHeader(String key, String script) +292
Stimulsoft.Report.Web.StiWebDesigner.RegisterClientScripts() +176
Stimulsoft.Report.Web.StiWebDesigner.OnPreRender(EventArgs e) +82
System.Web.UI.Control.PreRenderRecursiveInternal() +88
System.Web.UI.Control.PreRenderRecursiveInternal() +160
System.Web.UI.Control.PreRenderRecursiveInternal() +160
System.Web.UI.Control.PreRenderRecursiveInternal() +160
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +883
Any help is welcome, please
Regards
Arthur
I try to put a StiWebDesigner inside a DIV but not in a whole page, i found a response said to put
"StiWebDesigner1.Report = myReport;" instead to use "StiWebDesigner1.Design( myReport );"
but this cause the following error :
[NullReferenceException: Object reference not set to an instance of an object.]
Stimulsoft.Report.Web.StiWebDesigner.RegisterClientScriptBlockIntoHeader(String key, String script) +292
Stimulsoft.Report.Web.StiWebDesigner.RegisterClientScripts() +176
Stimulsoft.Report.Web.StiWebDesigner.OnPreRender(EventArgs e) +82
System.Web.UI.Control.PreRenderRecursiveInternal() +88
System.Web.UI.Control.PreRenderRecursiveInternal() +160
System.Web.UI.Control.PreRenderRecursiveInternal() +160
System.Web.UI.Control.PreRenderRecursiveInternal() +160
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +883
Any help is welcome, please
Regards
Arthur