Removes the report from the Cache.
Namespace:
C1.Web.C1WebReportAssembly: C1.Web.C1WebReport.2 (in C1.Web.C1WebReport.2.dll)
Syntax
C# |
---|
public void Clear() |
Visual Basic (Declaration) |
---|
Public Sub Clear |
Remarks
Reports are cleared from the cache automatically whenever there are any changes to the report definition file, to the report definition itself, or to the file specified by the FileDependency property.
If your application relies on data that does not come directly from a file, however, you may need to call the Clear()()()() method explicitly when the data changes. This will cause the control to render a new copy of the report using the modified data.