Questions about the Notification control

2 posts, 0 answers
  1. Boris
    Boris avatar
    289 posts
    Member since:
    Oct 2012

    Posted 30 May 2013 Link to this post

    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.
  2. Slav
    Slav avatar
    1359 posts

    Posted 04 Jun 2013 Link to this post

    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.

    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.
Back to Top