About 50 results
Open links in new tab
  1. How do I close dialog by clicking outside of it? [duplicate]

    Jun 21, 2022 · Closed 1 year ago. How would you close dialog box by clicking outside of it in addition to clicking the Esc button?

  2. how to hide the X at the top of the shadcn dialog box?

    Apr 29, 2024 · The shadcn/ui dialog box by default as a X at the top right hand corner. My design does not have the X. How to hide the X while retaining the esc to close functionality ? Thanks very much.

  3. Closing dialog box and form which launched the dialog box

    Aug 20, 2010 · When I press a button, it loads a modal message box with the options yes and no. This is fine, but when I press no, I want to close both the dialog box and the form where the button which …

  4. How to handle "outside" click on Dialog (Modal)?

    My box closes when clicking outside of the box making me lose all the input. I want my box to close only when clicking on the cancel button. I am not sure what is making it close when clicking outs...

  5. c# - How to close DialogBox programmatically - Stack Overflow

    Sep 8, 2016 · I create a simple form that pops up a dialog box when you run it, but i cannot close it programmatically. Can anyone help me with that? Label lb = new Label(); Form frm = new Form(); …

  6. How to close jQuery Dialog within the dialog? - Stack Overflow

    68 How to close jQuery Dialog within the dialog without using the close button? Inside the Dialog is a simple form request. If a successful submission occurs, then the UI dialog automatically closes and …

  7. How to dismiss flutter dialog? - Stack Overflow

    The dialog route created by this method is pushed to the root navigator. If the application has multiple Navigator objects, it may be necessary to call Navigator.of(context, rootNavigator: true).pop(result) to …

  8. How to close a native HTML dialog when clicking outside with JavaScript?

    Apr 26, 2018 · Add an event listener to close the dialog when a user clicks on the dialog element (anywhere on the viewport) Add an event listener to prevent propagation of clicks on the div nested …

  9. dialog - Javascript close alert box - Stack Overflow

    Nov 9, 2019 · 46 I want to be able to close an alert box automatically using Javascript after a certain amount of time or on a specific event (i.e. onkeypress). From my research, it doesn't look like that's …

  10. How to close a MessageBox after several seconds - Stack Overflow

    I have a Windows Forms application VS2010 C# which displays a MessageBox with an OK button. How can I make it so that, if the user walks away, the message box automatically closes after a timeout o...