hi,
if i have a System.DateTime bound column with DBNull.Value in the datasource i get an error if i edit an other cell (not the date cell itself). In my case the date column is even set to readonly. The value gets postet to the dataset (eg it works) but the grid shows an error after completion.
error:
Async request failed [InvalidCastException]: Specified cast is not valid. at Infragistics.Web.UI.GridControls.EditingCore.OnCallbackRender(CallbackObject callbackObject, StringBuilder responseJSONString) at Infragistics.Web.UI.GridControls.GridBehavior.Infragistics.Web.UI.GridControls.IGridBehavior.OnCallbackRender(CallbackObject callbackObject, StringBuilder responseJSONString) at Infragistics.Web.UI.GridControls.WebDataGrid.CallbackRender(CallbackObject callbackObject) at Infragistics.Web.UI.GridControls.ContainerGrid.CallbackRender(CallbackObject callbackObject) at Infragistics.Web.UI.Framework.Data.FlatDataBoundControl.Infragistics.Web.UI.IControlCallback.CallbackRender(CallbackObject callbackObject) at Infragistics.Web.UI.Framework.RunBot.CallbackRenderRecursive(CallbackObject callbackObject) at Infragistics.Web.UI.Framework.RunBot.RenderFormCallBack(HtmlTextWriter writer, Control control) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) at System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) at Infragistics.Web.UI.Framework.RunBot.RenderPageCallBack(HtmlTextWriter writer, Control control) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Page.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)[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.webform1_aspx.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Hello pfendt,
Thank you for posting in our forums.
Can you please share the markup of the grid?
Have you specified the DataType of the column?
What is the version and build number that you are using?
I have created a support ticket on your behalf :CAS-83318-MQMS80
Hope hearing from you
datatypes are specified (System.DateTime) ... in the attached sample just edit the text column of a row with an empty date and click on another row.
Hello pfendt ,
I was able to reproduce the issue with your sample.
You are using build 11.2.20112.2025
This issue has been fixed in the latest service release 11.2.20112.2055
I strongly recommend you installing it.
Please let me know if you need further assistance.
the testcase worked, but upgrading my project to the newest hotfix results in an empty page in firefox 10 (maybe others, did not test)
domElem.replaceNode is not a functionhttp://localhost:33588/ScriptResource.axd?d=DG6sICU9WAeytFadBwGZJIzaNlKheUryoaagJoLfCDQANN523zPuVF6IdUV0BVyiOW2Dzxt4RfaIt-VN44_dYVlo3HaZ1mtQGnoHXezbmLkSHlA8ps6DArVP5W6hOBEjcRvkGJ61wKQMNgO4K7KO_jlgmCJMOPoi_9dcekmee_LGw88Z6hRET-tRqcnDL-YvS-Bw1nZk8sqcOApLYZA5vcfroWvfoG--UjXQ_k-KR92tckDS7Q7I7leIQugVqEaS0&t=ffffffffa515f05dLine 2859
the line is:
//B.C. January 27th, 2012 Bug #99947. We replace the target node with a temporary node which saves the real node place.
Hello,
Thank you for reporting this.
It is a known issue :
101295 : WebDataMenu causes all Infragistics controls to disappear
It is already resolved and will be included in the next service release
In the meantime there is untested build.
I will update you with more information through the support ticket.
with the service release provided it works, but i get an error when resizing columns (WebHierarchicalDataGrid):
this._grid._get_band()._hasColumnWithKey is not a functionhttp://localhost:33588/ScriptResource.axd?d=Aa8qJlL0jlwr_byyeR1Sl-f09AyIGa0Xq6Y1SLKtZbhXpjwfcZMOv-tbqoDK-_rp_r578YeuwxDhs28q5h9bb0PIiGlm2M9h6P7zsAt4-bDqAC9Jexny5Js7fPeowpNRizoGnO2CZn2OJEREm-3bPMqXFmHKXbrI9axjzll3tAZ9dS3j3VhjPib6vT-hR-kwvGMGqRAX5s-QP_d_XhC6AOT-mihCNwSRe17-vboZMtx4Hqs3ENgaRsAde1xW9JoTl1wJf5GRiGEa0wGMbmugLg2&t=fffffffff0489c60Line 1043
just veryfied .. works with 11.2.20112.2025