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

<div class="printPopupContainer">

	<script>

		var selectedExportFormat = "";

	</script>

	@Html.DevExpress().PopupControl(s =>
{
	s.Name = "devPopupControlEditSite";
	s.HeaderText = "";
	s.Modal = true;
	s.Width = new Unit(1100, UnitType.Pixel);
	s.CloseAction = CloseAction.CloseButton;
	s.PopupHorizontalAlign = PopupHorizontalAlign.WindowCenter;
	s.PopupVerticalAlign = PopupVerticalAlign.TopSides;
	s.PopupVerticalOffset = 10;
	s.AllowDragging = true;
	s.AllowResize = false;
	s.ShowMaximizeButton = true;
	s.ShowFooter = false;
	s.ShowOnPageLoad = true;
	s.SetContent(() =>
	{
		Html.RenderPartial("~/Views/Shared/_PrintDocumentViewerPartial.cshtml", Model);
	});
}).GetHtml()

</div>