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
Thanks You Michael,
It helped.
I appreciate your help and real quick responses..!
Cheers :-)
-Vivek
Hello Vivek,
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 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?
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.
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?