Hi,
I am using unbound ultrawebgrid with one of the columns as webcombo. User is supposed to put values in editable columns & select value from webcombo column or enter text in it. Then he click on the server side button to save the entered data.
But when user clicks on webcombo column & does not enter any custom text or does not select any value from the list & try to save the date, the page crashes saying the following:
System.NullReferenceException: Object reference not set to an instance of an object. at Infragistics.WebUI.UltraWebGrid.UltraWebGrid.ResolveCellLevel(String level, String dataKey) at Infragistics.WebUI.UltraWebGrid.UltraWebGrid.StateChangeProcessor.ProcessChanges() at Infragistics.WebUI.UltraWebGrid.UltraWebGrid.ProcessChanges(StateChanges stateChanges, Boolean fireEvents) at Infragistics.WebUI.UltraWebGrid.UltraWebGrid.LoadPostData(String postDataKey, NameValueCollection values) at System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP.portalpage_quality_aspx.ProcessRequest(HttpContext context) in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\cabportal\21ab8e8a\bb02ea13\App_Web_8yyksov0.4.cs:line 0 at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Please help me on this.
A couple questions...
Thanks
Chad
Here are the answers:
1. I am binding the grid on Page_Load & again rebinding it after save click(i.e. on postback)
2. It does hit the function button click. On error or exception is catched at server side. Code gets executed successfully & then page crashes.
3. I have not used any Ajax functionality.
4. I have not used any other Ajax or update panel
Basically no error or exception is catched on server side that is why not able to understand the exact source of page crash.
Please help on this
I've the same problem. It looks like an infragistics bug, but they don't seem to be interested.
Meanwhile, i'm sitting here watching the error reports roll in having no idea what is causing this and having no way to even reproduce it.