Hi, We using a XamGrid control which consists of textcolumns and DateColumns. we want to put some validations on the datecolumn and if the validations fail we want old date to be retained. The validations will be Columnwise as well as Rowwise. We are validation these dates in the CellExitingEditMode Event, however when the validation fails, even if we set e.Cancel = true; the new value is reflected. Please find the attached screenshot, here we have two datecolumns showing the start date and end date, the we want to validate the start date to be less than the end date. Please let us know if there is a way to retain the old values or cancel the changes made.
Further, we want to Display this XamGrid within the XamDialogWindow, but When we select a date from the datepicker, move to next cell and come back to the original cell and click on the DatePicker icon following exception is thrown "Must disconnect specified child from current parent Visual before attaching to new parent Visual" Please let us know what could be the cause of the error. I am having a Datatable as ItemsSource for the XamGrid.
We are using Infragistics Version 11.2.20112.1012
Hello,
I have logged this with development under ID: 104077 and I have also created a support ticket on your behalf: CAS-86152-3RKXKJ and have linked the development issue to it, so that you can get automatically updated, when a Service Release containing the fix is available for download. You can get the new version from our website’s “My IG”, “My Keys & Downloads” tags: https://ko.infragistics.com/Membership/Default.aspx?panel=Downloads#Downloads
You can also monitor the support ticket’s progress through the “My Support Activity” tag: https://ko.infragistics.com/Membership/MySupport.aspx
Also I can say that if you remove the Presentation.Aero resource it will no longer throw exception.
Hi Stefan,
Thanks for your reply, this sample solved our validations issue which we were facing however as mentioned we want it to be displayed in the xamDialogWindow which is to be poped up independently and not embedded in any window.
Here is an sample application which replicates the exception thrown.
Thank you for your post. I have been looking into it and I created a sample project for you with the functionality you want. Also I suggest you download the latest service release of 11.2 by logging to our web site and going to My IG \My Keys and Downloads. Please let me know if this helps you or you need further assistance on this matter.
Looking forward for your reply.