Zum Hauptinhalt gehen

DisplayHyperlink - how to capture if closed using "X" vs. Close Button

Kommentare

9 Kommentare

  • Carmen Durham

    Or - how to hide the "X" altogether so the user has to choose the Close button?

    0
  • Carmen Durham

    Ralph,

    Thank you! This option works much better for what I want to do. 

    If anyone else uses the code, you may have to import Geocortex.Forms.Client.Items. 

    Carmen

    0
  • Dan Griffin

    I'm looking for an answer on the "X" button as well.  I could change to a form but isn't there an eaiser solution? 

    0
  • Permanently deleted user

    Hi Dan

    I am sure that Carmen will back me up here but it is not that hard. And it saves trying to decide what the user meant when closing with the 'X'. If you want you can have a 'Cancel' button on the form which is much easier to capture the Click on it and so on.

    My workflow example is just enough to see how to do it.

    I assume that you are already using a Workflow to use the Display Hyperlink Activity anyway.

    Regards

    Ralph

    0
  • Dan Griffin

    Thanks Ralph.  I agree it's not hard to set up a form and I guess that's the only option. It just makes DisplayHyperlink kind of useless...

    0
  • Permanently deleted user

    Unless you don't care if they hit the 'X'?

    I guess I should ask, are you dependant on what they do with the hyperlink as far as what happens next in your workflow?

    0
  • Dan Griffin

    Yes, I'd like to clear the selection and exit the workflow.  As it stands, if "X" is selected the workflow gets hung up and doesn't end until a new command is selected.  I assume  "X" means the same as a close button for most people?  

    0
  • Permanently deleted user

    Thats pretty much the same reason that I had to end up going down this route in the first place.

    Good luck with training those users ;-)

    Regards

    Ralph

    0
  • Dan Griffin

    "ModalWindowNoCloseButton" in the Workflow Container Name works to remove the "X" from DisplayHyperlink

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.