使用Telerik Radwindow控件的会话过期问题 [英] Session Expire Issue using telerik radwindow control

查看:63
本文介绍了使用Telerik Radwindow控件的会话过期问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的项目中使用带有asp.net控件的telerik控件(Rad窗口),
如果会话过期,我单击一个按钮将打开rad窗口,而不是退出主窗口或会话过期.它在rad窗口内显示会话过期消息,但我需要会话应该在主页上而不是rad窗口内过期. class ="h2_lin">解决方案

只需检查会话是否过期.

if(session expired)
{
  //close rad window and refresh the main window which shows as session expired.
}
else
{
 //continue your work
}



在这里查看最后两个帖子
关闭RadWindow并刷新父页面 [ ^ ]


I am using telerik controls(Rad window) with asp.net controls in my project,
If session expires and I click on a button which will open a rad window Instead of main logout or session expire It shows session expire message inside the rad window, but I need session should expire on main page rather than inside the rad window.

解决方案

Just check for the session expire.

if(session expired)
{
  //close rad window and refresh the main window which shows as session expired.
}
else
{
 //continue your work
}



check the last two posts here
Close RadWindow and refresh parent page[^]


这篇关于使用Telerik Radwindow控件的会话过期问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆