Skip to content

Instantly share code, notes, and snippets.

@smarenich
Last active November 27, 2015 08:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save smarenich/1fc2ce665bf15af150a2 to your computer and use it in GitHub Desktop.
Save smarenich/1fc2ce665bf15af150a2 to your computer and use it in GitHub Desktop.
public PXAction<MyDAC> MyButton;
[PXButton(Tooltip = PX.Data.Update.Messages.MyTooltip)]
[PXUIField(DisplayName = "MyTitle", MapEnableRights = PXCacheRights.Delete, MapViewRights = PXCacheRights.Delete)]
protected void myButton()
{
if (MyPanel.AskExt(true) != WebDialogResult.OK) return;
//Do some useful Stuff
}
public PXFilter<MyPanelDAC> MyPanel;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment