.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

Need to add the quicklaunch to a web part page

Posted By:      Posted Date: May 22, 2011    Points: 0   Category :C#

Hi All

Can't believe this isn't an option in page settings - anyway...

One of our departments hosts a lot of committees.  They like the out of the box meeting workspace BUT it doesn't have a quicklaunch and their current webpage is setup that way.

I've binged and tried a few approaches but nothing's worked. For example I tried creating a blank page and exporting the webparts from the meeting workspace but then I ran into the whole GUID nightmare.

This is on a test VM so I have farm admin rights.

Can anybody point me to some step by step instructions on how to add a quicklaunch to this page in SharePoint designer, powershell or any other way. Thanks.


View Complete Post

More Related Resource Links

Change part of a page without full postback


I have a page with two columns. Initially, the left column will contain a list of links that are article titles. Clicking on one of the links will display the text of the article in the right column, keeping the list of titles in the left column. Clicking on another title will clear the text of the first article and display the second. Is there a way to accomplish this without having to repaint the whole page? I would rather not have the whole page resent each time a title is clicked, but rather have the page stay as is and only the contents of the right column get cleared and redisplayed. I assume there's a way to do this with JavaScript, but I don't know how and would appreciate some help. Thanks!

how to add a wiki page as a web part


Hi All,

I have created a feature that generates a page and adds a content editor web part, links web part (using elements.xml). Everything works fine but I would like to replace content editor web part with a wiki page that I am going to create.

For example, I copied an excerpt from elements.xml file that adds a content editor web part for the page.

<Module Path="Dependencies/Pages" Url="">
  <File Url="default.aspx" Type="Ghostable">
   <!-- Add the Rich Content Text Editor web part -->
   <AllUsersWebPart WebPartZoneID="Right" WebPartOrder="1">
          <WebPart xmlns="http://schemas.microsoft.com/WebPart/v2" xmlns:iwp="http://schemas.microsoft.com/WebPart/v2/ContentEditor">
            <Assembly>Microsoft.SharePoint, Version=, Culture=neutral, PublicKeyToken=71e9bce111e9429c</Assembly>
            <Title>Executive Summary</Title>

 Can someone tell me how I can add a wiki page using manifest (elements.xml) file or some other way?

Add page numbers for paging in data view web part


Hello all,

Has anyone found a solution that will allow me to have page numbers for paging in a data view web part. For instance, if I have 40 items/rows and I set the paging to display 10 items, I'd like the paging to show 1 2 3 4 rather than showing 1-10 and having to click next over and over to get to a specific item.

I found this article, but it is for 2003 and doesn't seem to apply to 2007 or if it does I am not able to really figure out how.


Please help!

Thanks in advance.


Web Part working fine on the top-level page but 'Not Safe' error on lower-level pages.


I have created a Web Part which reads and parses the SharePoint logs in order to display usage information of the page it resides on.  The Web Part works perfectly on the top page, reading and displaying the information desired.  However, once the Web Part is added to any page lower in the site heirarchy (sub-page) the same Web Part throws the following error:

Web Part Error: A Web Part or Web Form Control on this Page cannot be displayed or imported. The type could not be found or it is not registered as safe.

Show Error Details
Hide Error Details

[UnsafeControlException: A Web Part or Web Form Control on this Page cannot be displayed or imported. The type could not be found or it is not registered as safe.]
  at Microsoft.SharePoint.ApplicationRuntime.SafeControls.GetTypeFromGuid(Guid guid)
  at Microsoft.SharePoint.WebPartPages.SPWebPartManager.CreateWebPartsFromRowSetData(Boolean onlyInitializeClosedWebParts)

Of course the current version of the Web Part is in the SafeControls list on the web.config.

The Web Part was originally designed to return site activity only for the top default.aspx page and worked fine but started to fail in the manner described above once I added the following line of code to return a SPCo

Adding a list item that populates a particular part of a page

I am trying to create a list view in sharepoint designer that when you enter a list value it populates the right part of the page. Background - I am creating a list for a marketing newsletter that when you fill out the list form it will populate the marketing newsletter on page. its to save recreating it every month. the list has drop downs for addition and department and the data is inserted on the page. thanksSharepoint Customiser

Is it possible to give parameter to the Page Viewer web part?

Page viewer web part gives iView to the website eg. http://www.test.com. This works fine! Our customer would like give parameters like http://www.test.com/abc?name=John. First question is that is it possible to give personalized parameters to the url? Any chances to give SharePoint user name as parameter?  Kenny_I

Keep part of the page always visible

I have an C#.net page to display radio stations.  Itis made in an collapsable menuds(accordian).  My problem is that I have to keep part of the page always visible(the stop, play button and volume control). Even if the user scrolls the page or expands menus the button controls should always be visible on the page.  How can I do this? Please help!

How to switch to a different Web Part page layout?

I'm not sure if the capabilities are available in SP2010, but I have a web part page that I would like to change to a different layout. In the past I have always recreated the page, which takes a ton of time, but I would rather switch to a different layout on the fly and move everything around again. Is this possible?

How to keep custom web part collapsed on page load

Hi, I have developed one custom web part and successfully deployed it on MOSS site. Now the requirement is that the custom web part should be collapse mode by default. how to do this? Which property need to set and where? Please suggest.

Adding a web part to "My Content" page causes error

Under a "My Content" personal page, a user (me) chose to add the "SQL Server Reporting Services Report Viewer" web part to a page. This was repeated with a test account and the same thing happened. Is there a way to fix this? Prior to this, adding a Content Editor Web Part seemed to work just fine.

Refresh certain part of page

Hey Guys. I'm writing an ASP.NET site and I was told to add a graph to one of the pages. The graph must use a third-side DOJO class to draw the graph. I'm having some problem with it. The graph tag looks something like this : <div class="graph" type="dojo.special.graph" datasource="myModel"> where the datasource for that graph is: <div class="Data" type="dojo.special.Datasource" url="myDB.json" id="MyModel">   So, this graph is fueled using the JSON file. The problem is when I want to change the JSON file to another, lets say, insead of "myDB.json" to "myASP_DB.json" problem is that when I change it (using Java Script code...something along  MyModel.url="myASP_DB.json") the graph won't refresh itself, though it's datasource does. I do understand where the problem lays - the tag is created once on pageload, so does the graph, and than it doesn't change (although the model does). What I'm trying to achieve here is that after I will change the url attribute of  "MyModel", the graph tag will refresh itself, thus causing the graph to update. How do you think I might achieve this? and am I assuming correctly that refreshing it will cause the graph to update? Thanks a lot

Prompt for "File Download" on Page Viewer Web part pointing to .htm file

I am in the process of moving my 2007 site over to 2010. On some of my sites I have a page viewer web part that points to a .htm file. It works great in 2007, but in 2010 I get a "File Download" prompt. Any ideas? Thanks --tolga

Place differente levels of menu on different part of page

Hi, i want design of page like this. At the top of page is first level of menu - Main Categories. On the right site of the page is submenu (level 2). Can i achieve this with bult-in component like Menu control and sitemap file? I want to try create menu this way.

Styles in Wiki Page versus Web Part Page

Hi there, I have a web part that was working perfectly fine in a wiki page (in the site pages library) - however as soon as I add that web part to a webpart page I lose some of my styles that are applied inline. More specifically I had some inline styles in a <tr> tag to show a border-bottom however that border-bottom just does not display in the webpart page. In the wiki page it displays perfectly fine. Any help is appreciated. Note: The reason I don't want to use a wiki page is because of this known problem: http://support.microsoft.com/kb/981227 Thanks  

XML Viewer web part and current page URL

Hi, I am using XML viewer web part in 2010. Is it possible to get the current page URL in my XSLT ?  Tried to get this working using a javascript call, but ended up with "scripting is disabled" error. Please suggest. -Karthik  

Web Part Page doesn't show current navigation

Hi! I'm having a problem with the navigation of web part page in Sharepoint 2010. For starters I need to say that I am a web designer and learning to brand Sharepoint 2010 wich means I'm not that tech-savvy so bear with me. We have created an intranet publishing site with Sharepoint 2010 and I have designed a custom master page with styles through Visual Studio 2010. The intranet site looks fine with the new design and I got navigation working with fly out menus, semantic subpages etc. The problem is: when I create a normal page the current sub-navigation is shown and it even shows my created web part page and all is fine, but once I go to this web part page, the left/sub-navigation disappears and I have no idea how to bring it back. The web part page uses the same master file as every other page. Everything with the the layout stays the same as my masterpage, except for the menu wich disappear so I thought it might be some property missing on the sub-navigation. Or do I need to edit something in the web part page layout in the gallery?: Master Page Gallery > BlankWebPartPage.aspx If so can I do it from Visual Studio? Here is the code for the left navigation menu: <!-- styles needed to have left nav to the left of the main area --> <div id="s4-leftpanel" class="s4-notdlg"> <!-- The quick launch bar / left navigation

content editor web part in publishing page

I have created a page in pages library using my custom pagelayout and added a cewp.I also added some images from image library in source code of cewp where each image is link and takes to a diff page.this doent work in a publishing page but works fine in other pages any suggestions
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