Class SSRSReportParamController
A controller for displaying the ExecuteSSRSReportParameter parameters to the user for choosing the data they would like to export
Inheritance
Implements
Inherited Members
Namespace: LemonEdge.Client.Core.Tasks.Params
Assembly: LemonEdge.ClientCore.dll
Syntax
public class SSRSReportParamController : ReportParamController<ExecuteSSRSReportParameter>, IPopupWindowController<ExecuteSSRSReportParameter>, IParamViewerController, IPopupWindowController, IController
Constructors
SSRSReportParamController(IParamSingleViewer<ExecuteSSRSReportParameter>, ExecuteSSRSReportParameter)
Creates a new ssrs report data parameter controller
Declaration
public SSRSReportParamController(IParamSingleViewer<ExecuteSSRSReportParameter> window, ExecuteSSRSReportParameter param)
Parameters
Type | Name | Description |
---|---|---|
IParamSingleViewer<ExecuteSSRSReportParameter> | window | The parameter popup window for displaying these parameters |
ExecuteSSRSReportParameter | param | The initial parameters to display |
Methods
CreateCustomControls(Dictionary<ResultType, short>, short)
Adds a new format control for the Format property
Declaration
protected override IEnumerable<ControlDisplayInfo> CreateCustomControls(Dictionary<SQLWrapperInterpretor.ResultType, short> resultTypePropertyIndexes, short controlIndex)
Parameters
Type | Name | Description |
---|---|---|
Dictionary<SQLWrapperInterpretor.ResultType, short> | resultTypePropertyIndexes | The index to be used for the next bound property value. Should be incremented for each control type created |
short | controlIndex | The index of the next control to create |
Returns
Type | Description |
---|---|
IEnumerable<ControlDisplayInfo> | A new format control for the Format property |
Overrides
SetCustomPropertiesForDisplay(ExecuteSSRSReportParameter, ISQLWrapperResult)
Sets displayedValues
to holds the
Format value from paramValues
Declaration
protected override void SetCustomPropertiesForDisplay(ExecuteSSRSReportParameter paramValues, ISQLWrapperResult displayedValues)
Parameters
Type | Name | Description |
---|---|---|
ExecuteSSRSReportParameter | paramValues | The values to display from this parameter |
ISQLWrapperResult | displayedValues | The class that holds the values being displayed in the viewer |
Overrides
SetCustomPropertiesFromDisplay(ISQLWrapperResult, ExecuteSSRSReportParameter)
Sets paramValues
to holds the
Format value from
displayedValues
Declaration
protected override void SetCustomPropertiesFromDisplay(ISQLWrapperResult displayedValues, ExecuteSSRSReportParameter paramValues)
Parameters
Type | Name | Description |
---|---|---|
ISQLWrapperResult | displayedValues | The class that holds the values being displayed in the viewer, that we should retrieve if any |
ExecuteSSRSReportParameter | paramValues | The values from this parameter that should be set with any custom ones from the display |