在ASP.NET中禁用页面 [英] Page disable in asp.net

查看:88
本文介绍了在ASP.NET中禁用页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


是否可以禁用asp.net中的.aspx页面的页面?


有人可以帮我吗?

Hi
Is it possible to disable a page that is .aspx page in asp.net?


Can any one help me?

推荐答案

禁用整个页面?为什么你需要那个?
禁用整个页面的用途是什么.相反,您可以禁用该页面的所有控件.编写一个CSS,用于只读控制,并将该CSS分配给控件.
disable a whole page ? why you need that ?
what is the use of whole page disabled. instead you can make all controls disabled of that page. write a CSS for readonly conrols and assign that css to controls.


您可以通过javascript禁用maincontent持有人.请查看此论坛以了解详细信息.禁用整个页面,就像使用javascript屏蔽它一样. [ ^ ]
You can disable the maincontent holder through javascript. Have a look at this forum for detail.Disable the Whole page, like mask it using javascript??[^]


您如何表示已禁用?一种选择是在IIS或您的web.config中创建302(临时移动)重定向.这样,页面将引导用户到另一个指定的页面.

祝你好运!
How would you mean disabled? One option would be to create a 302 (Moved Temporary) redirect in IIS or in your web.config. This way the page will guide a user to another page specified.

Good luck!


这篇关于在ASP.NET中禁用页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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