Skip to main content
Question

How we can access the arguments passed as parameter when a

  • November 3, 2023
  • 0 replies
  • 66 views

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

Hello all,

 

We can open a new screen using PXRedirectRequireExcption. We also can include parameters as argument when we throw the exception. My question is how in the “target” screen we can access the parameters provided as argument when we threw the exception in the “source” screen. for example I throw the below exception from screen A that will open screen B. So when screen B page is loading how I can access the P1 and P2? to be more specific I need to access them in the Page_Load.

throw new PXRedirectRequiredException(myGraph, true, string.Empty, P1, P2) { Mode = PXBaseRedirectException.WindowMode.NewWindow };

Any help is appreciated.