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 asp.net controls?

Thanks.

Jason

Sep 23, 2009 at 7:10 AM

Hi,

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

Regards,

Andrea.

__________________________________
Andrea Ferendeles
NetSqlAzMan Project Coordinator  
E-mail aferende@hotmail.com Web http://netsqlazman.codeplex.com