母版页中的链接按钮未触发 [英] link button in masterpage not getting fired

查看:62
本文介绍了母版页中的链接按钮未触发的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我有一个母版页,单击该链接时有一个名为注销的链接按钮,它必须带我到登录页,但是该事件并未被触发,请告诉我其他任何替代方法

Hi
I have a master page in which there is link button called logout when I click this it has to take me to the login page but the event is not getting fired how to do it pl tell me any other alternative

推荐答案

删除链接按钮并添加新按钮.
delete the link button and add new.


请在母版页中添加定位标记,并将用户重定向到logout.aspx页.
在logout.aspx页的页面加载中,
清除会话值并将用户重定向到登录页面.
Please add anchor tag in master page, and redirect user to logout.aspx page.

On page load of logout.aspx page,
clear session values and redirect user to login page.


这篇关于母版页中的链接按钮未触发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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