Hi,
We have been using Infragistic XAMDataGrid from 2012 vol 2. DataPresenterExcelExporter.ExportAsync functinality was implemented, which worked fine in exporting Grid data to Excel2007 format. And also Cancelleing the export in the mid of export using UI or CancelExport .
We recently updated to Infragistic 2015 vol 2. And now I am not able to Cancel export while in progress. Export works fine if that is not disturbed but
It just renders my UI freeze and become unresponsive if export cancelled in between. There is no other option but to kill the application.
Please help as we can not ship our product with this issue.
Thanks
Vivek
Hello Vivek,
The issue was fixed and is awaiting to be released. It will published in our upcoming service release. Note, the sample you've attached did not reproduce the behavior out of the box so I've attached a new one for your reference.
Keep in mind that you will be required to have an active subscription in order to obtain and download the service release patch with this fix. I recommend reaching out to our sales department for more details on this matter.
North America sales@infragistics.com Sales: +1 (800) 231 8588 Fax: +1 (732) 831 7820
Let me know if you have any questions regarding this matter.
Hi Michael ,
Thanks for the quick response..!
The sample I provided does work when you press '1' while focus is in the grid.
As we are using version 2015 Vol 2, however this issue was found in version 2016 Vol 1 also. Would you provide a compatible fix for 2015 Vol 2 also?
When are you planning to release that?
The fix will be released in 15.2, 16.1, and newer. The next service release is planned for September 23, 2016.
Let me know if you have any questions.
Thanks Michael,
As we are releasing the product next week, can you suggest us a way to disable the Cancel (X) button in the Grid, while exporting asynchronously?
Yes, you can retemplate the style for RecordExportStatusControl.CancelExportButtonStyleKey and override the visibility of the "X".
eg.
<Style TargetType="Button" x:Key="{x:Static dataPresenter:RecordExportStatusControl.CancelExportButtonStyleKey}">
<Setter Property="Height" Value="14" />
<Setter Property="Width" Value="14" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="Button">
<TextBlock Visibility="Hidden" Text="X" />
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
Let me know if you have any questions regarding this matter
Thanks You Michael,
It helped.
I appreciate your help and real quick responses..!
Cheers :-)
-Vivek