[DevExpress Support Team: CLONED FROM S19008: Show complex dialogs in XAF ASP.NET applications (similar to the MessageBox in Windows Forms)]
Not Work.
C#namespace Solution28.Module.Controllers {
public partial class ViewController1 : ViewController {
public ViewController1() {
InitializeComponent();
RegisterActions(components);
}
private void popupWindowShowAction1_Execute(object sender, PopupWindowShowActionExecuteEventArgs e) {
//Do something when the OK button is pressed.
}
private void popupWindowShowAction1_CustomizePopupWindowParams(object sender, CustomizePopupWindowParamsEventArgs e) {
//e.View = e.Application.CreateDashboardView(e.Application.CreateObjectSpace(), "ConfirmationMessageView", false);
Application.ShowViewStrategy.ShowViewInPopupWindow(Application.CreateListView(typeof(DomainObject1), true));
}
private void popupWindowShowAction1_Cancel(object sender, EventArgs e) {
//Do something when the Cancel button is pressed.
}
}
}