This is a migrated thread and some comments may be shown as answers.

How to close radwindow in a certain time?

1 Answer 177 Views
Window
This is a migrated thread and some comments may be shown as answers.
CTO
Top achievements
Rank 1
CTO asked on 31 Aug 2016, 10:31 AM

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.

1 Answer, 1 is accepted

Sort by
0
Accepted
Marin Bratanov
Telerik team
answered on 31 Aug 2016, 11:10 AM

Hello,

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.

Regards,

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.
Tags
Window
Asked by
CTO
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or