Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrading #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion Sending a Report by Email/Controllers/ViewerController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,15 @@ public IActionResult InitViewer()
{
var requestParams = StiAngularViewer.GetRequestParams(this);

var options = new StiAngularViewerOptions();
StiAngularViewerOptions options = new StiAngularViewerOptions();
options.Actions.GetReport = "GetReport";

options.Actions.EmailReport = "EmailReport";

options.Actions.ViewerEvent = "ViewerEvent";

options.Appearance.ScrollbarsMode = true;

options.Toolbar.ShowSendEmailButton = true;

return StiAngularViewer.ViewerDataResult(requestParams, options);
Expand Down
1 change: 1 addition & 0 deletions Sending a Report by Email/Pages/Error.cshtml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ public class ErrorModel : PageModel
public ErrorModel(ILogger<ErrorModel> logger)
{
_logger = logger;

}

public string RequestId { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion Using API Methods/Controllers/ViewerController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public IActionResult InitViewer()
{
var requestParams = StiAngularViewer.GetRequestParams(this);

var options = new StiAngularViewerOptions();
StiAngularViewerOptions options = new StiAngularViewerOptions();
options.Actions.GetReport = "GetReport";
options.Actions.ViewerEvent = "ViewerEvent";
options.Appearance.ScrollbarsMode = true;
Expand Down
2 changes: 1 addition & 1 deletion Using Designer Events/Controllers/DesignerController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public IActionResult Get()
var requestParams = StiAngularDesigner.GetRequestParams(this);
if (requestParams.Action == StiAction.Undefined)
{
var options = new StiAngularDesignerOptions();
StiAngularDesignerOptions options = new StiAngularDesignerOptions();
options.Height = Unit.Percentage(100);
return StiAngularDesigner.DesignerDataResult(requestParams, options);
}
Expand Down