向前和向后导航 [英] navigation forward and backward

查看:92
本文介绍了向前和向后导航的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所有人都可以告诉我如何在按钮单击事件上在asp.net中来回导航.我不想使用viewstate或session或temp table.这可能是plz指南... !!

hii all can anybody tell me how can i navigate back and forward in asp.net on button click event.i dont want to use viewstate or session or temp table.is it possible plz guide...!!

推荐答案

尝试以下链接
[ ^ ]
Try below link
[^]


只要有历史记录可以导航,就可以使用JavaScript历史记录对象来回导航.
http://www.javascriptkit.com/jsref/history.shtml [
You can use the JavaScript History object to navigate backward and forward, so long as there is a history to navigate to.

http://www.javascriptkit.com/jsref/history.shtml[^]

Going forward will only work if the user has visited a page in this current session. If it is a new navigation you will need to initiate with a button click, href, etc.


这篇关于向前和向后导航的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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