If you want to make report designing even faster for your business users, you can allow them to skip the steps involved in selecting a data model. Use the new DataModel property so they can just click a button to open the designer on a blank report with a pre-selected data model, or copy the Create report link from the models list.
This topic assumes that you are already familiar with how to Use the Designer Web Control.
C# code. Paste INSIDE the Button Click event. |
Copy Code
|
---|---|
this.Designer1.ModelName = "ActiveTunes (Sample)"; this.Designer1.ReportAction = ActiveReports.Server.ReportControls.ReportAction.Create; |