Hello Milton,
You need call Dispose method of report to clear page files.
Thank you.
Reports with thousands of pages
-
- Posts: 53
- Joined: Thu Aug 21, 2008 9:28 pm
- Location: Peru
Reports with thousands of pages
Hello Vital
i am using the following code
Report.Show(True)
Report.Dispose()
but does not delete pages from the cache
Milton
i am using the following code
Report.Show(True)
Report.Dispose()
but does not delete pages from the cache
Milton
Reports with thousands of pages
Hello,
You can use following code:
Thank you.
You can use following code:
Code: Select all
string temp = (StiOptions.Engine.ReportCache.CachePath == null || StiOptions.Engine.ReportCache.CachePath.Length == 0) ?
Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData) :
StiOptions.Engine.ReportCache.CachePath;
temp = Path.Combine(temp, "StimulsoftReportsCache");
if (!Directory.Exists(temp))Directory.Delete(temp);
-
- Posts: 53
- Joined: Thu Aug 21, 2008 9:28 pm
- Location: Peru
Reports with thousands of pages
Hello Vital
Thank you for your help.
Milton
Thank you for your help.
Milton