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


Top 5 Contributors of the Month
david stephan

Home >> Interview Question >> SharePoint >> Post New Question Subscribe to Interview Questions

How to Hide the Quick Launch on a Sharepoint web part Page

Posted By :abhays     Posted Date :November 08, 2014    Points :40   Category :SharePoint 
The Quick Launch on a Sharepoint web part Page can be hide by editing the webpart page and add the content editor webpart to the page,then copy paste this CSS in it.

<style type="text/css">
body #s4-leftpanel { display: none; }
.s4-ca { margin-left: 0px; }
</style>

You can also find related Interview Question to How to Hide the Quick Launch on a Sharepoint web part Page  below: 

What are the differences between web part page gallery, site gallery,Virtual server gallery and online gallery in SharePoint?

  
Web Part Page Gallery in SharePoint is the default gallery provided by Microsoft that comes installed with SharePoint. Site Gallery is specific to one sharepoint website site. Virtual Server gallery is specific to that virtual server and online gallery is available for download web parts from MSDN. (More...)

You added a SharePoint Web part to page, and now, when you go to the page, get an error message. To get the page working again, what need to do?

  
Go to the page with the error and add

?Contents=1

to the end of the page's URL. If the URL already has a "?" then add this instead to the end of the URL:

&Contents=1

You will now see a list of all of the Web Parts on the page and can now delete the offending Web Part.

Here is an example for a site URL that ends in aspx:
http://.../default.aspx?Contents=1 (More...)

What is a web part zone in SharePoint?

  
Web part zones in SharePont are what your web parts reside in and help categorize your web parts when designing a page. (More...)

How would you create a Master Detail page in sharepoint?

  
Creating a Content type inheriting from Folder Content Type for the master, and another Content type inheriting from Item and using them both on a List (More...)

What are the differences between web part page gallery, site gallery,Virtual server galleryand online gallery?

  
Web Part Page Gallery is the default gallery that comes installed with SharePoint. Site Gallery is specific to one site. Virtual Server gallery is specific to that virtual server and online gallery are downloadable web parts from Microsoft. (More...)

How will you add Code behind to a Custom Applictaion Page or a Layout Page in SharePoint?

  
Ans. You do not deploy a code behind file with your custom Layouts page. Instead, you can have the page inherit from the complied dll of the solution to access the code behind. (More...)

How would you pass user credentials while using SharePoint WebService from your Web Part or application.

  
Ans. The web service needs credentials to be set before making calls.

Examples:

listService.UseDefaultCredentials = true; // use currently logged on user

listService.Credentials = new System.Net.NetworkCredential("user", "pass", "domain"); // use specified user (More...)

Q. How will you add Code behind to a Custom Applictaion Page or a Layout Page in SharePoint?

  

Ans. You do not deploy a code behind file with your custom Layouts page. Instead, you can have the page inherit from the complied dll of the solution to access the code behind.
(More...)

Q. Can we use our custom master page with the application pages in SharePoint 2010 ?

  

Ans. With 2010, you can now set whether the pages under _Layouts use the same Master Page as the rest of your site. You can enable or disable this functionality through the web application settings in Central Administration. This however, is not applicable to your custom application pages. If you want your custom applictaion page to inherit the site master page you must derive it from Microsoft.SharePoint.WebControls.LayoutsPageBase class.
(More...)

Q. Can we use our custom master page with the application pages in SharePoint 2010 ?

  
Ans. With 2010, you can now set whether the pages under _Layouts use the same Master Page as the rest of your site. You can enable or disable this functionality through the web application settings in Central Administration. This however, is not applicable to your custom application pages. If you want your custom applictaion page to inherit the site master page you must derive it from Microsoft.SharePoint.WebControls.LayoutsPageBase class.

(More...)

What is the use of SharePoint designer setting page in SharePoint designer 2010.

  
SharePoint designer setting page allows the following

1) Disable SharePoint designer completely
2) Different pages from being detached
3) Hide master pages and page layouts
4) Hide the website URL structure (More...)

Which is mandatory Content Placeholders Create Custom Master Page in SharePoint?

  
The Below Content Placeholders are required for backwards Compatibility:-

? PlaceHolderTitleLeftBorder
? PlaceHolderPageImage
? PlaceHolderMiniConsole
? PlaceHolderTitleRightMargin
? PlaceHolderTitleAreaSeparator
? PlaceHolderNavSpacer
? PlaceHolderLeftNavBarBorder
? PlaceHolderBodyLeftBorder
? PlaceHolderBodyRightMargin
(More...)

How to hide "All site content" Link in SharePoint

  
.s4-specialNavLinkList {
Display: none;
} (More...)

How to hide the web part selection checkbox

  
To Hide the web part selection checkbox add below style in CEWP
.ms-WPHeaderTdSelection
{
display: none;
} (More...)

Quick Links For Interview Questions Categories:
ASP.Net Windows Application   .NET Framework   C#   VB.Net   ADO.Net  
Sql Server   SharePoint   Silverlight   OOPs   JQuery   JavaScript/VBScript
Biztalk Patten/Practices .IIS WCF WPF WWF
Networking Aptitude Others   All      

Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.

 
Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.

So, Start looking our Interview Question section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.


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