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

Questions about the Notification control

1 Answer 38 Views
Notification
This is a migrated thread and some comments may be shown as answers.
Boris
Top achievements
Rank 1
Boris asked on 30 May 2013, 03:10 PM
At the moment I'm having problems with my current Session timeout scheme.  2 questions.

1.  Do I understand correctly?  This control will refresh the Session (and keep the Session variables from expiring) without reposting the whole page?

2. If I did start using this, I would still have a problem.  I have a Dot Net 4.0 Web app that uses Telerik controls.  It also uses the window.radopen command to create popup editing windows.  If I implement the Notification control in the main window, how do I do a reset from the popup?  Say, for example, reset the timer on every keystroke in an editing field.

1 Answer, 1 is accepted

Sort by
0
Slav
Telerik team
answered on 04 Jun 2013, 01:08 PM
Hi Boris,

1. As described in the online demo Session Timeout notification, calling update() automatically performs a callback to the server in order to restart the Session. This means that the page will not be reposted.

2. You can use the approach shown in step 1 of this help article in order to get a reference to the parent page, then get the client-side object of the notification and call the update() function, which will restart the Session.

Regards,
Slav
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Notification
Asked by
Boris
Top achievements
Rank 1
Answers by
Slav
Telerik team
Share this question
or