Solved

Display popup dialog in a new tab of the same window instead of new popup window

  • 8 March 2024
  • 2 replies
  • 41 views

Userlevel 7
Badge +8

Hello all,

I was wondering can we open the dialog shown using the Vie.AskExt() method (it shows a nice and neat grid) in a new tab by existing tabs instead of displaying a dialog in a new window without going the long way of designing a grid … and all other required works to use in redirect? Here is the code:

        public PXAction<MyDac> showHistory;
[PXUIField(DisplayName = "Show History")]
[PXButton]
public IEnumerable ShowHistory(PXAdapter adapter)
{
MyView.View.AskExt(); // Can I show this in a new tab?
return adapter.Get();
}

 

icon

Best answer by Zoltan Febert 8 March 2024, 17:02

View original

2 replies

Userlevel 6
Badge +3

Hi @aaghaei,

Popup dialogs or smart panels are part of the screen, I don’t think it is possible to send them to another tab. Most likely Acumatica Framework makes them visible when you call AskExt, and hides them upon close.

Userlevel 7
Badge +8

Thank you @Zoltan Febert

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved