@using GreenTree.Nachtragsmanagement.Web.Models.Global;
@Html.DevExpress().PopupControl(s => { s.Name = "devPopupControlNoUpdate"; s.HeaderText = "Kein Update verfügbar"; s.Modal = true; s.Width = new Unit(350, UnitType.Pixel); s.CloseAction = CloseAction.CloseButton; s.PopupHorizontalAlign = PopupHorizontalAlign.WindowCenter; s.PopupVerticalAlign = PopupVerticalAlign.WindowCenter; s.AllowDragging = false; s.AllowResize = false; s.ShowFooter = false; s.ShowOnPageLoad = true; s.SetContent(() => { ViewContext.Writer.Write( "
" + "

Es ist kein Update verfügbar!

" + "
"); Html.RenderPartial( "~/Views/Shared/_PopupButtonPanelOption.cshtml", new GreenTree.Nachtragsmanagement.Web.Models.Global.OptionDialogModel { OptionItems = new List { new GreenTree.Nachtragsmanagement.Web.Models.Global.OptionDialogItemModel { Name = "NoUpdateAccept", Text = "Ok", Function = "function (s, e) { devPopupControlNoUpdate.Hide(); }" } } } ); }); s.Styles.Content.Paddings.Padding = new Unit(0); s.Styles.ModalBackground.Opacity = 0; }).GetHtml()