调整弹出对话框在ASP.NET应用程序的大小
#region 调整弹出对话框在ASP.NET应用程序的大小
protected void PopupWindowControl_CustomizePopupWindowSize(object sender, CustomizePopupWindowSizeEventArgs e)
{
e.Size = new Size(600, 300);
e.Handled = true;
}
// 具体针对某个窗体
//protected void PopupWindowControl_CustomizePopupWindowSize(object sender, CustomizePopupWindowSizeEventArgs e)
//{
// PopupWindow window;
// try { window = e.FindPopupWindow(WebApplication.Instance); }
// catch (ArgumentException) { return; }
// if (window != null && window.View != null)
// {
// if (window.View.ObjectTypeInfo.Type == typeof(DemoTask))
// {
// e.Size = new Size(600, 300);
// e.Handled = true;
// }
// }
//}
#endregion
https://documentation.devexpress.com/#Xaf/CustomDocument3456