How to close radwindow in a certain time?

2 posts, 0 answers
  1. CTO
    CTO avatar
    4 posts
    Member since:
    Jan 2015

    Posted 31 Aug Link to this post

    I want to create a radwindow dialog which have a button for close the window and also after 5 sec the window close automatically.

    Thanks in advance.

  2. Marin Bratanov
    Marin Bratanov avatar
    3555 posts

    Posted 31 Aug Link to this post


    You can start a timer (see the setTimeout() function) in the OnClientShow event to call the close() method of the RadWindow.

    If you intend to only show a small information box, you may want to use RadNotification and its AutoCloseDelay property. You can play around with its behavior in its Configurator demo.


    Marin Bratanov
    Telerik by Progress
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
  3. DevCraft R3 2016 release webinar banner
Back to Top