UserPopup -auto close after X seconds


Is there any way to set the popup window to “autoclose” – like fade away after displaying for 1 second ?

As opposed to the user clicking on something else. I want to use it to show the user that a record has been successfully saved without requiring them to click anything to make the message go away. Like fade in show for 1 second, fade out and go away.

Or do I need to use a timer ? If I use a timer and I have a lot of users will this be a performance problem ?

  • You must to post comments


perhaps the AlertBox could help.

“Displays an alert box with the specified text and icon in the specified position.”

You can  also define an autoCloseDelay:
A value in milliseconds that determines the delay after which the alert box disappears automatically. The default is 5000 (5 seconds). If set to 0 the box stays open.



  • edmond girardi
    I don’t see an Alert Box control on the toolbox menu in Visual Studio ?
  • Frank (ITG)
    Hi Edmond, you don´t need to add it from the toolbox. You can call it like you would call the MessageBox, e.g. AlertBox.Show(…) Best regards, Frank
  • edmond girardi
    Thanks Frank. Does the AlertBox just use a timer in the background on the sever or is it using something on the client side ?
  • Luca (ITG)
    It’s all javascript. Wisej doesn’t use any server timer. Also the Wisej.Web.Timer component that you can use in a container is client side javascript. In the browser the setTimeout and setInterval functions are simply asymc handlers invoked when the browser is idle.
  • You must to post comments

Hi Edmond,

I’m not sure what you mean by pop-up window, but you can do this with a regular wisej window and, as you suggest – a timer.

Example attached.


  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.