RadPane display login when session expires

2 posts, 0 answers
  1. Mark
    Mark avatar
    2 posts
    Member since:
    Apr 2009

    Posted 26 Jan 2010 Link to this post

    I have a website you have to login to use.  Using a RadSplitter and RadPane.  The RadPanes have aspx pages inside of them. 

    If the users session expires and the PadPanes display the login page inside of it.  The preferred way would be the parent page to display the login page, instead of each page within the RadPane displaying it. 

    Is there anyway to handle this easy?   The only solution I know right now is to have the login page check if it has a parent page, if it does it knows it is running within a RadPane, therefore call a javascript funtion on the Parent to have it change to the login page.

    Any other options?
  2. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 29 Jan 2010 Link to this post

    Hi Mark,

    I suggest to put the following script in the Login.aspx page:

    if (window != window.top) window.top.location.href = window.location.href;

    This will ensure that the Login.aspx page will always load at the top of the frames tree.


    All the best,
    Svetlina
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top