如何创建其他成员无法看到的用户控件 [英] how to create user control that cannot seen by other member
本文介绍了如何创建其他成员无法看到的用户控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好..有人可以给我一些关于如何创建网页中其他成员无法看到的用户控件的参考吗?我已经google了,但有些链接并不完全符合我想做的事情。
提前感谢
解决方案
你没有找到任何东西,因为人们不必创建一个可见的控件;这种特征(控制可见性)已经存在。但是,它比这简单:你的ASP.NET生成整个网页,所以你可以有条件地写一些元素,具体取决于当前用户的权限。
< DD> -SA
hi everyone.. can somebody give me some reference on how to create user control that cannot seen by other member in a webpage? I already google it but there are links that not exact on what i want to do..
thanks in advance
解决方案
You did not find anything, because people don't have to create a control to be visible or not; such feature (control visibility) already exists. However, it's simpler than that: your ASP.NET generates the whole Web page, so you can write some elements conditionally, depending on the permissions of current user.
—SA
这篇关于如何创建其他成员无法看到的用户控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文