隐藏asp.net中的地址栏 [英] Hide address bar in asp.net

查看:77
本文介绍了隐藏asp.net中的地址栏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在fusioncharts中使用向下钻取。



我使用查询字符串将值传递给调用页面。



它在地址栏(URL栏)中可见。



我想在阅读查询字符串值后隐藏地址栏。



请让我知道如何实现这个。



提前谢谢

I am using drill down in fusioncharts.

I am passing values to the calling page using query string.

It's visible in address bar(URL bar).

I want to hide the address bar after reading the query string values.

Please let me know how to achieve this.

Thanks in advance

推荐答案

首先,问题与此无关到无法访问客户端系统的ASP.NET。这只是JavaScript。如果我没有太多错误,你无法隐藏现有窗口,只能在使用 window.open 创建弹出窗口时定义一些选项: http://www.w3schools.com/jsref/met_win_open.asp [ ^ ]。



但即使你这样做...现在许多用户使用这样的设置来阻止所有或某些类型的弹出窗口,隐藏地址栏的想法也被认为是有问题的,试图限制自然用户的权利,被视为滥用,甚至虽然这两件事都可以接受,但请三思。



-SA
First of all, the problem is not related to ASP.NET which does not have access to the client systems. It's just JavaScript. If I'm not much mistaken, you cannot hide it for existing windows, you can only define some options when you create a pop-up window using window.open: http://www.w3schools.com/jsref/met_win_open.asp[^].

But even if you do that… many users these days use such settings to block all or some kinds of pop-ups, and the idea to hide the address bar can also be considered questionable, an attempt to limit natural user's rights, considered as abuse, so, even though both things could be acceptable, think twice.

—SA


这篇关于隐藏asp.net中的地址栏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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