开发者

ASP.NET Form Field Security using Attributes

开发者 https://www.devze.com 2023-01-15 02:35 出处:网络
I\'m looking to implement something similar to this article: http://msdn.microsoft.com/en-us/library/aa480723.aspx

I'm looking to implement something similar to this article:

http://msdn.microsoft.com/en-us/library/aa480723.aspx

One of the issues I have though is that I need to apply custom System.Attributes to the controls defined in a FormView ItemTemplate and EditItemTemplate. How 开发者_如何学Gocan I modify the declaration of those controls or apply the custom attributes to those controls in some other way to implement granular, field-level security? (e.g. TextBox1 should be read only if the user doesn't have a particular permission)

0

精彩评论

暂无评论...
验证码 换一张
取 消