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

<head>

	@Html.DevExpress().GetStyleSheets(
		new StyleSheet { ExtensionSuite = ExtensionSuite.NavigationAndLayout },
		new StyleSheet { ExtensionSuite = ExtensionSuite.Editors },
		new StyleSheet { ExtensionSuite = ExtensionSuite.Report },
		new StyleSheet { ExtensionSuite = ExtensionSuite.GridView },
		new StyleSheet { ExtensionSuite = ExtensionSuite.TreeList }
	)
	@Html.DevExpress().GetScripts(
		new Script { ExtensionSuite = ExtensionSuite.NavigationAndLayout },
		new Script { ExtensionSuite = ExtensionSuite.Editors },
		new Script { ExtensionSuite = ExtensionSuite.Report },
		new Script { ExtensionSuite = ExtensionSuite.GridView },
		new Script { ExtensionSuite = ExtensionSuite.TreeList }
	)

	<link rel="stylesheet" type="text/css" href="~/Content/global.css" />
	<link rel="stylesheet" type="text/css" href="~/Content/devex.css" />
	<link rel="stylesheet" type="text/css" href="~/Content/function.css" />

</head>

<body>

	@Html.DevExpress().DocumentViewer(t =>
	{
		t.Name = "devDocumentViewerReportGrid";
		t.Width = new Unit(100, UnitType.Percentage);
		t.Report = Model.Report;
		t.CallbackRouteValues = new
		{
			Action = "ExportPartialAppendicesCallback",
			Controller = "Appendix",
			exportformatString = "Pdf"
		};
		t.ExportRouteValues = new
		{
			Action = "SavePartialAppendicesCallback",
			Controller = "Appendix",
			exportformatString = "Pdf"
		};
	}).GetHtml()

</body>