Assembly: C1.Web.C1WebReport.2 (in C1.Web.C1WebReport.2.dll)
Syntax
C# |
---|
[NotifyParentPropertyAttribute(true)] [DefaultValueAttribute(true)] [RefreshPropertiesAttribute(RefreshProperties.All)] public bool Enabled { get; set; } |
Visual Basic (Declaration) |
---|
<NotifyParentPropertyAttribute(True)> _ <DefaultValueAttribute(True)> _ <RefreshPropertiesAttribute(RefreshProperties.All)> _ Public Property Enabled As Boolean Get Set |
Remarks
This property is set to true by default, allowing the C1WebReport to use the Cache object to store frequently used reports. This enhances performance significantly, but it does use some server resources.
If you want to reduce the memory requirements on the server, setting the Enabled property to false will cause the C1WebReport control not to use the cache. Reports will be rendered every time they are requested, and memory usage will be reduced at the expense of more data access and processing time needed to create the reports multiple times.
In general, you should only turn the cache off if you are rendering a custom report that probably won't be requested again in the next few hours.
The default value for this property is True.