Skip to main content
Solved

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

  • March 8, 2024
  • 2 replies
  • 277 views
  • Translate All

aaghaei
Captain II
Forum|alt.badge.img+11

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();
}

 

Best answer by Zoltan Febert

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.

View original

2 replies

Zoltan Febert
Jr Varsity I
Forum|alt.badge.img+4

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.

Translate

aaghaei
Captain II
Forum|alt.badge.img+11
  • Author
  • Captain II
  • March 8, 2024

Thank you @Zoltan Febert

Translate