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
486
WebCombo In Ultrawebgrid causes page crash
posted

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.