using NetSqlAzManAuthorizationAttribute on ASP.NET

Sep 22, 2009 at 10:10 AM

Anyone have experience on using NetSqlAzManAuthorizationAttribute on ASP.NET?

I saw in the documentation, we can apply NewSqlAzManAuthorizationAttribute to controls so we set the controls' properties base on authorization (say, set the .Visible to false if uses have no permission)

something like:

[NetSqlAzManAuthorization("My Operation", "Visible", false)]
private System.Windows.Forms.Button button1;

however in ASP.NET 2.0, there are no control declaration in source file (.aspx.cs), so how can I apply such attribute to the controls?



Sep 23, 2009 at 7:10 AM


just change from ASP.NET Web Site … to ASP.NET Web Project  … to see page.Designer.cs/vb … to see control declarations.



Andrea Ferendeles
NetSqlAzMan Project Coordinator  
E-mail Web