@model GreenTree.Nachtragsmanagement.Web.Models.Global.PrintGridModel

@Html.DevExpress().DocumentViewer(t =>
{
	t.Name = "devDocumentViewerReportGrid";
	t.Width = new Unit(100, UnitType.Percentage);
	t.Report = Model.Report;
	t.CallbackRouteValues = Model.CallbackRouteValues;
	t.ExportRouteValues = Model.ExportRouteValues;
	t.ToolbarMode = DocumentViewerToolbarMode.StandardToolbar;
	t.ClientSideEvents.Init = "function (s, e) { customizeExportToolbar('" + t.Name + "'); }";
	t.ClientSideEvents.BeforeExportRequest = "function (s, e) { e.customArgs['exportFormat'] = exportFormat; }";
}).GetHtml()