In the Attached sample, if we change the start date or the end date and click on the Update button the click event is not fired, it gets fired only when we click twice on the button.
We need to have the update buttons click event firing on the single click of the button.
Also, how to disable the textbox of the DateColumn, so as to make the users select from the calendar
and Today is always highlighted in the DateColumn calendar, we would like to unhighlight today.
Hello,
Thank you for your post. I have been looking into it and the sample you have provided and I modified it, so now it works as you want. Basically I added a Style for the DatePicker and set its IsTodayHighlighted Property to false and handled its Loaded event, so I can make the TextBox in it read-only. As for the Click event issue, I can suggest you use the PreviewMouseLeftButtonUp event instead of the Click one. Also I have logged this with development under ID: 108652 and I have also created a support ticket on your behalf: CAS-88977-F0LR2G 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
Hi Stefan,Thanks for your reply,
After applying the style in the xaml, when we click on the DatePicker icon following exception is thrown "Must disconnect specified child from current parent Visual before attaching to new parent Visual"
For some reason it is not replicated in the sample given by you, but this problem was reported to you earlier also, please refer to the link http://forums.infragistics.com/forums/t/66314.aspx
Also, we added a template column consisting of DatePicker which enabled us to unhighlight Today, but now the CellExitingEditMode and CellExitedEditMode events are not fired after adding the templatecolumn.
In the sample attached the End Date is the template column.