.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

How can I reset inheritance to regain controll of a subsite/subweb?

Posted By:      Posted Date: September 03, 2010    Points: 0   Category :SharePoint
How can I reset inheritance to regain controll of a subsite/subweb?Kevin W. Gagel

View Complete Post

More Related Resource Links

Master Pages: Master Your Site Design with Visual Inheritance and Page Templates


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.

Fritz Onion

MSDN Magazine June 2004

What is the easiest way to reset all the values of controls on a web form (vb.net) to their defaults


What is the easiest way to reset all the controls on a web form.  Can I set "veiw state" to false for all of the controls with one command, do a response-redirect to its own page, and set view state back to true.  What is the easiest way to do it.



Required columns on list; how can I reset them to be NOT required?

I have a user list where several fields in a sharepoint list that were originally created as required, but would now like to make them not required. I have already tried simply unchecking the required field checkbox, but that does not work. Any other ways to do this?

Browsing libraries from different subsite


Two anonymous subsites. Contributor in subsite A needs to browse pages library in subsite B using link asset picker.  Do I need to add subsite A contributor to subsite B permission list? 

If I have 50 subsites.  Now I create a new subsite and the contributor in the new subsite needs to browse all other subsites library.  Do I need to add him to all other 50 subsites?


how do i create a webpart for sharepoint 2010 that allows users to create their own subsite..



how do i create a webpart for sharepoint 2010 that allows users to create their own subsite..

for e.g..

i create a webpage in vs 2010 which allows users to create their account by specifying username and password..and make it a webpart and after that for that user a subsite should be created under sharepoint 2010 top level site.....how could i achieve that..

How do I search a SUBSITE using the spsearch Web service in WSS 3.0?


I have figured out how to access the spsearch web service API, and created a query packet like this:

<QueryPacket xmlns='urn:Microsoft.Search.Query'>

However, it's returning results for my home collection.  I need a way to filter for any sub-site collection.  Is this possible?  I have been searching for a couple hours and so far have no clue.  I have tried entering other parameters inside the QueryText field as I see them on my actual SharePoint search, but this method does not work here.

This is not for a "getlistitems" call.  I am calling "spsearch" using the "query" or "queryex" action.  Thanks.

Site File Structure, Folders, Learning project, subweb, web.config

I am just learning asp.net.  I purchased an "ASP.Net 3.5 web programming in C#" book, which I like allot.  I am on chapter 3 and want to complete a shopping cart exercise from the book.  I have to create several folders and files.  The exercise has the files and under the root directory and a few folders below that.  I already have a site that I've been learning on.  Can I create a subfolder on my site and put all the files in there?  Like the subfolder is the root of the project.   Here is list of Folders and files... Code/CartItem.cs Code/Product.cs Data/Cars.mdb Images/car.jpg Cart.aspx Order.aspx Web.config ................................ On my website I want to create a subfolder to keep alll the files in, as so... ShoppingCart/Code/CartItem.cs ShoppingCart/Code/Product.cs ShoppingCart/Data/Cars.mdb ShoppingCart/Images/car.jpg ShoppingCart/Cart.aspx ShoppingCart/Order.aspx ShoppingCart/Web.config ................................ Can I have two web.cong files?, one in the subfolder?  Or do I have to use the single, web.config file in the root directory of the site?  Are there any other pitfalls or trouble I might get into setting up my file structure like this?  Anything I should be aware of? Any thoughts or advice would be appreciated. Thanks, Mike   

Why does MVC2 reset my Context.User but MVC1 doesn't?

The question comes from a previous thread, but I would like to ask a more specific question from anyone in the know.Why does MVC2 reset my Context.User, discarding changes made in Application_AuthenticateRequest but MVC1 does not?Repro is pretty simple:Start an MVC1 and MVC2 new project. In both of them add the following code in global.asax: protected void Application_AuthenticateRequest(Object sender, EventArgs e) { if (Context.Request.IsAuthenticated) { FormsIdentity ident = (FormsIdentity)Context.User.Identity; Context.User = new System.Security.Principal.GenericPrincipal(ident, new[] { "FooAdmin" }); bool result = User.IsInRole("FooAdmin"); } } // break hereNow in both HomeController.cs files change the Index Action to: public ActionResult Index() { bool result = User.IsInRole("FooAdmin"); ViewData["Message"] = ""; // break here return View(); }Deploy to IIS, attach debugger on the "// break here" lines and then login to each site in turn.You should find that under MVC1 the result variable at both breakpoints is true, but in MVC2 it is false in the Index action.Anybody have any idea why? Is this a bug or by design? Any way around it?

moss 2007 for intranet ,publishing portal with collaboration portal subsite or other way.

Hi All, We are planning to use moss 2007 for our intranet. Mainly we want to use it for collaboration purpose (i think collaboration portal is the appropriate template as root site). but in future if the company want publishing portal can i have it under collaboration portal or should i choose now itself the root site as publishing portal  and then create collaboration portal as sub site to meet our needs. can some one shed light on how to proceed and pros/ cons . Cheers, Friend. 

Problems with inheritance in WCF

Hi, I've got some code written using remoting that I'm considering updating to use WCF as WCF has some pretty nice features, however I've been having real problems getting inheritance to work going across WCF using binary serialization, I created some simple test code to get my head round whats going on using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Runtime; using System.Runtime.Remoting; using System.Runtime.Remoting.Channels; using System.Runtime.Remoting.Channels.Tcp; using System.ServiceModel; using System.ServiceModel.Channels; namespace Test { [ServiceContract] public interface IServer { [OperationContract] BaseType Get(); } public class Server : MarshalByRefObject, IServer { public BaseType Get() { return new InhertitedType(); } } [Serializable] public abstract class BaseType { public abstract string Name{ get;} } [Serializable] public class InhertitedType : BaseType { public override string Name{ get { return "Working"; } } } class Program { static int port=8888; static string ip = ""; static void Main(string[] args) { var binding = new NetTcpBinding(); var endpoint = new EndpointAddress(string.Format("net.tcp:/

Can someone explain this inheritance?

I am having trouble understanding the inheritance listed in http://msdn.microsoft.com/en-us/library/cc406686(office.12).aspx <%@ Page Debug="true" Language="C#" MasterPageFile="~/_admin/admin.master" Inherits="MSDN.SharePoint.Samples.WarmupJobManager, MSDN.SharePoint.Samples.SharePointWarmupJob, Version=, Culture=neutral, PublicKeyToken=7fd1d26c5854f031" %> It almost looks to me like two classes are being inherited - WarmUpJobManager AND SharepointWarmupJob. Is this correct?...or even possible?? Neither class is a partial class. Sorry I am new to this and was trying to deploy this example but the inheritance displayed here has me confused. Thanks in advance, Jake.

How to Merge Master Page calendar and Subsite Calendar.?

Hi All, I have Created One Masterpage Calendar and also i have created 5 subsite calendar. how to merge 5 subsite calendar into main site calendar? if 4th site owner announcing meeting in subsite 4 calendar means i need automaticaly it will be populating all those meeting information in main site calendar. i don't need code and at all please give me a out of the box solution. Thanks Sabapathy  
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend