@using GreenTree.Nachtragsmanagement.Web.Extensions
@model GreenTree.Nachtragsmanagement.Web.Models.Appendix.OrderInvoiceCreatedDataModel
@Html.DevExpress().PopupControl(p =>
{
p.Name = "devPopupControlEditOrderInvoiceCreated";
p.HeaderText = "Abschlagsrechnung gestellt";
p.ShowHeader = true;
p.ShowFooter = false;
p.Modal = true;
p.Width = new Unit(350, UnitType.Pixel);
p.MinHeight = new Unit(150, UnitType.Pixel);
p.ShowOnPageLoad = true;
p.SetContent(() =>
{
using (Html.BeginForm("EditOrderInvoiceCreated", "Appendix", FormMethod.Post, new { id = "orderInvoiceCreatedEditForm" }))
{
ViewContext.Writer.Write("
");
Html.RenderPartial(
"~/Views/Shared/_PopupButtonPanel.cshtml",
new GreenTree.Nachtragsmanagement.Web.Models.Global.PopupModel
{
PopupName = "devPopupControlEditOrderInvoiceCreated",
AcceptFunction = "function (s, e) { saveOrderInvoiceCreated(); }"
}
);
}
});
p.CloseAction = CloseAction.CloseButton;
p.PopupHorizontalAlign = PopupHorizontalAlign.WindowCenter;
p.PopupVerticalAlign = PopupVerticalAlign.WindowCenter;
p.Styles.Content.Paddings.Padding = new Unit(0, UnitType.Pixel);
p.Styles.ModalBackground.Opacity = 0;
}).GetHtml()