View Complete Post
If i hard coded role=Manager on the specific SiteMap/Folder/Page/etc. I will have problem when the manager need to remove from access a specific page. I need to change the code ont eh page/SiteMap/Folder more move the file into another folder.
What i have in mind is to change the role to taks oriented. such as role=AddStock, Edit Stock, Delete Stock, Print DO, Add Sales, Edit Sales, Deleted Sales..... (but it will be many role for 1 user compare to just 1 as Manager)
Will this cause performance issues later when each user have 60 roles and if i have 20,000 user will it affect the application performance?
Otherwise any other option? to make it flexible.
Master pages in ASP.NET 2.0 solve a problem many Web developers have been solving on their own with a variety of techniques for years - providing a single master template for an entire site. This article covers the details of master pages, discussing their usage and implementation and how they are a natural evolution of custom techniques developers are using today.
MSDN Magazine June 2004
In my masterpage I have a menu with buttons. I want the buttons to do something after click. It works but I have to click twice on the button, why? What do I have to do to just to click once?
i have 5 tabs in my master page application. how can i make 2nd tab as default?
I have a site that uses master pages. Some of my pages use ajax, so they have the scriptmanager on them. I now have to add some ajax to one of the master pages. When I try to display a page that already has a script manager on it, I get an error that I can only have one script manager. Is there a way to deal with this other then searching for every page that uses the master page and ajax and removing the scriptmanager tag?
I'm hoping to start using Ajax more and more, so I'm really more concerned with best practices then I am about having to find and remove tags. What is the right way to use Ajax on master pages and some, but not all content pages?
I am working on a SP site (MOSS not WSS) which is heavily customised away from the OOTB layout. I need to create a Wiki site, which was going well - I've created a master page which displays the miniconsole (this was not visible with our customised
layout), and made it the default master page for the site. This has been applied to the two standard pages that come with the Wiki site, however when a new page is created, it seems to inherit the default.master, rather than my custom master page - thus not
showing the miniconsole.
When I have created a new page, I am able to use SharePoint Designer to attach my custom master page to it, which works perfectly, however this will not be a viable option going forward as end-users create their new wiki pages.
How can I get the new pages to inherit my master page when they are created?
How does one inherit from multiple master pages?
I.e. I have a base master page that contains several ContentPlaceHolders.
I want to have separate master page files (one for each ContentPlaceHolder) so that I have 4 separate files: 3 ContentPlaceHolders (each adding specific content) and 1 base master page.
The ASPX files will then inherit from the base master page.
I know there is a field you can check when you edit the properties of a Master Page in the Master Page Gallery to set a Master Page to hidden but ... can anyone think of a way to programmatically hide specific Master Pages from the Site Master Page Settings
Maybe this should be two questions: