Logo 
Search:

Sharepoint Interview FAQs

Submit Interview FAQ
Home » Interview FAQs » SharepointRSS Feeds
Sharepoint
Comments: 0

What is the difference between CreateChildControls and the RenderContents method

The CreateChildControls method is used to add controls to the WebPart, and the RenderContents method is used to tell the page framework how to render the control into HTML to display on a page.
Posted By:Tarang Nayak      Posted On: Mar 12

Sharepoint
Comments: 0

What is the WebPartManager sealed class? What is its purpose?

The WebPartManager sealed class is responsible for managing everything occurring on a WebPart page, such as the WebParts (controls), events, and misc. functionality that will occur in WebPartZones. For example, the WebPartManager is responsible for t...
Posted By:Tarang Nayak      Posted On: Mar 12

Sharepoint
Comments: 0

How many WebPartManager controls should be on a page?

In order to have WebParts on a page there has to be just one WebPartManager control to manage all the WebParts on the page.
Posted By:Tarang Nayak      Posted On: Mar 12

Sharepoint
Comments: 0

What is a SPSite and SPWeb object, and what is the difference between each of the objects?

The SPSite object represents a collection of sites (site collection [a top level sites and all its subsites]). The SPWeb object represents an instance Sharepoint Web, and SPWeb object contains things like the actual content. A SPSite object contains ...
Posted By:Tarang Nayak      Posted On: Mar 12

Sharepoint
Comments: 0

How would you go about getting a reference to a site?

Select For Unformatted Code
C#:
1. oSPSite = new SPSite("http:/server");
2.
3. oSPWeb = oSPSite.OpenWeb();
Posted By:Tarang Nayak      Posted On: Mar 12

Sharepoint
Comments: 0

What does a SPWebApplication object represent?

The SPWebApplication objects represents a Sharepoint Web Application, which essentially is an IIS virtual server. Using the class you can instigate high level operations, such as getting all the features of an entire Web Application instance, or doin...
Posted By:Tarang Nayak      Posted On: Mar 12

  2  3  4  5  6  7  8  9  10  11  12