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

VisibleOnPageLoad = true and autoclose

2 Answers 72 Views
Window
This is a migrated thread and some comments may be shown as answers.
aykut
Top achievements
Rank 1
aykut asked on 12 May 2014, 05:46 PM
Hi,

I need to autoclose radwindow after lets say 5 seconds.

but I have to use following method to open radwindow:

  RadWindowtest.VisibleOnPageLoad = True

I need to use ContentTemplate, I need to change controls in ContentTemplate from code behind. its'a must for me so I choose this method.
I can open/close window with javascript events but its not usefull to me in this problem.

any ideas ?
best regards.

2 Answers, 1 is accepted

Sort by
0
Accepted
Marin Bratanov
Telerik team
answered on 13 May 2014, 10:41 AM

Hello,

I suggest you start with examining the following articles:

Thus, when you register the function that will show the RadWindow, the very same function can use a setTimeout() call to call the RadWindow's close() method after the required period elapses.

An alternative is using RadNotification, as it offers an AutoCloseDelay property that lets it hide automatically when shown.


Regards,

Marin Bratanov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
aykut
Top achievements
Rank 1
answered on 13 May 2014, 11:28 AM
thats exactly what I need..

thanks.. you guys always have a solution :)
Tags
Window
Asked by
aykut
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
aykut
Top achievements
Rank 1
Share this question
or