New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial
Large RadGrid Export Causes Application Crash
Environment
Product | RadGrid for ASP.NET AJAX |
Version | 2025.1.416 |
Description
I encounter a System.OperationCanceledException
when attempting to export large datasets from the RadGrid in Telerik UI for ASP.NET AJAX. This issue occurs after upgrading to version 2025.1.416 or later, and the same export works without issues in version 2024.3.805.
Cause
Starting with version 2025.1.416, a default timeout of 10 seconds is enforced during document import and export operations in the Document Processing Library (DPL). This timeout is intended to ensure consistent performance and mitigate security risks but may cause exceptions during large exports.
Solution
To resolve the issue, modify the timeout setting for the DPL export functionality in the web.config
file.
- Open your
web.config
file. - Locate the
<appSettings>
section. - Add or update the following setting to increase the timeout:
<appSettings>
<add key="Telerik.DplFormatProviderTimeout" value="90"/>
</appSettings>
- Set the timeout value based on your export needs (e.g., 30, 60, 90 seconds, or more).
- Save the file and test the export operation.