如何从其他页面禁用母版页中的超链接? [英] How to disable hyperlinks in the master page from some other page?

查看:99
本文介绍了如何从其他页面禁用母版页中的超链接?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我是.net的初学者.我真的需要知道如何从其他页面禁用母版页中的超链接.请帮我.紧急.

详细信息:我有一个母版页,并且很少有超链接.根据登录人员的类型,我要启用或禁用母版页中的超级链接.请帮助我.

谢谢,

Komal

Hi,

Iam a beginner in .net. I really need to know how to disable hyperlinks in the master page from some other page. Please help me. Its urgent.

Details: i have a master page and it has few hyperlinks. depending on the type of the person who logs in, i want to enable or disable the hyerlinks in the master page. Pls help me.

Thanks,

Komal

推荐答案

写道:​​

请帮助我.紧急.



不,这不对.如果是的话,您会买一本书并阅读.无论哪种方式,对我们来说都不是紧急的.




No, it''s not. If it was, you''d buy a book and read it. Either way, it''s not urgent to us.


写道:​​

根据登录人员的类型,我要启用或禁用母版页中的超级链接.

depending on the type of the person who logs in, i want to enable or disable the hyerlinks in the master page.



因此,您的母版页应检查其何时使用登录系统进行渲染,以了解其针对的用户类型.




So, your master page should check when it''s rendering itself with the login system to know what sort of user it is rendering for.


写道:​​

我是.net的初学者.

Iam a beginner in .net.



如果您是初学者,也许您跳得太深了,尝试编写其中具有权限的内容.显然,如果有人使用它,则不应该允许您编写这样的系统,所以我认为您只是在自学而已.购买书并在其中进行练习.



If you''re a beginner, perhaps you''re jumping in too deep, trying to write something with permissions in it. Obviously, you should not be allowed to write such a system yet, if someone will use it, so I assume you''re just playing around to teach yourself. Buy a book and do the exercises in it, instead.


这篇关于如何从其他页面禁用母版页中的超链接?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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