[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Viewer.Win.Viewer.AutoExecuteWithDefaultParams

AutoExecuteWithDefaultParams Property

AutoExecuteWithDefaultParams

Gets or sets a value indicating whether the report executes automatically when all parameters have default values.

Declaration
[Browsable(false)]
public bool AutoExecuteWithDefaultParams { get; set; }
Property Value
Type Description
bool

true if the report executes automatically when all parameters have default values (default behavior); false if the parameters panel opens first and rendering waits for the user to click "Preview".

Remarks

When set to false and all report parameters have default values, the viewer opens the parameters panel on load without starting rendering. The report renders only after the user clicks "Preview" in the parameters panel. This setting has no effect on reports that have no parameters or reports where at least one parameter has no default value — in both cases the behavior is unchanged. The default value is true, which preserves the existing auto-execute behavior.