标签云

微信群

扫码加入我们

WeChat QR Code

I want to create a menu which contains all my services according to permissions. And any new service added automatically to this menu . I use a table (Runat="server") in my div and dynamically create new td at runtime with the new service according to the permission.I want to ask if there are any ideas to do this more perfectly and good from UI perspective.


What you want to say with "new service", a new link to a new page added?

2019年04月20日40分54秒

yeah...........

2019年04月19日40分54秒

What you can do is use a method, for exemple, that will use Reflection to inspect you assembly and find your pages aspx, and for each page create the html, i do the same thing with a asp.net mvc project. excactly the same thing. Unfortunately i'm leaving of my job now, but tomorrow, if anyone help you, we can think together and create a solution to a web forms project. Before of all, post how you are organizing your aspx pages (folders and etc..) and how you are giving permissions (with role provider and authorization attribute?)

2019年04月20日40分54秒