.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

Style changes to individual quick launch items

Posted By:      Posted Date: October 26, 2010    Points: 0   Category :SharePoint
I have a quick launch bar on the left with headers that do NOT have URL's and subitems under those headers that are styled differently and that do have URL's (this is all out of the box, and works fine).  My issue is that I have one quick launch item that is a header and that does have a URL associated with it and although the hover style of this item is different than the other link-less headers, I would like to make this one header look different than the others to make it apparent that it's a link without having to hover over it.  Is it possible to do per-item style changes on the quick launch bar or something equivalent?  Thanks

View Complete Post

More Related Resource Links

Quick Launch Items disappear


I’ve set up a Sharepoint Foundation Site with SSL and created some Quick Launch items. However, some of the links often disappear. When I refresh, they appear. Sometimes when I do a refresh, only 3 out of the 4 items re-appear and I have to refresh even one more time. It is always links that disappear – headline items never disappear. Anyone else experienced this? It seems like this is a bug..?

SharePoint 2010 - Accordian Style Quick Launch Menu


I am working on Sharepoint 2010. i need to display the Quicklaunch in Accordian style.


i am using the following script to achieve it. it works fine but i need to display plus(+) and minus (-) when it expands & collapse.

<script src="/WebDocuments/jquery-1.4.4.min.js" type="text/ecmascript">

<script type="text/javascript">

$(document).ready(function() {
// do stuff when DOM is ready

function makeLNCollapsible()
function () {
$(">ul", $(this).parent()).show("fast");
function () {
$(">ul", $(this).parent()).hide("fast");


Hide link in quick launch

Hello all,

I need help in order to hide a link in wss3.0
of course this link should be visible to some users and hiddden for users who do not have access permission to the link.
currently when the users who do not have the right to the page when they click on the link they get access denied but I want to remove/hide the link so that they don't click on the link to get the access denied message!!
The link I'm trying to hide is located in quick launch.

I have be trying to do it wih-in the wss3.0 platform but seems that there is no solution for it with-in the platform.
 could you please tell me it it has to be done programatically or there is any way which can be done from the platform itself.

has anyone done this before??

please guide me

Managing Lists On the Quick Launch Bar In Sharepoint 2010


Hi can somebody help please.

I am using Sharepoint Foundation 2010 and I need to use the "navigate function" that you use to have in MOSS 2007.

Basically I want to be able to move lists between different sub headers on the quick launch bar. In MOSS 2007 I use to be able to go into manage site settings and choos "navigate and then move the lists up and down between the sub headers that i created on the quick launch bar.

Anyone got any ideas



Expand /Collapse quick launch

Hi All, Can any one help in getting the below link script for collapse and expand quick launch. I did not find any script. it says to paste script in master page using designer http://www.endusersharepoint.com/2009/03/27/deploy-custom-jquery-scripts-to-the-sharepoint-site-collection/ any idea? i want exact above link Thanks in Advance

style classes for items in databound BulletedList?

hello,i have a BulletedList control which is bound to a data table. the table contains css class names that i need to apply to each generated list item. i realise that i can do it in an explicit loop over the datasource, but is it possible to achieve this without a loop?thankskonstantin

hide links in quick launch bar for "People and Groups", "Group", "All People"

Can you tell me how to hide links in quick launch bar for "People and Groups", "Group", "All People"? If a site user click these links all users in site collection will be displayed. (I do want it happends. I only need people for one site only) If you can show me how to display people in one site only would be perfect.

Navigation headings and links display in Treeview expandable collapse buttons in quick launch in Sha

Whenever i am adding Headings and Links in my sharepoint site under "Navigation", it should display in Treeview collapse expandable buttons in quick launch. How to achieve this, any suggestions please. I tried by enabling Treeview in Site settings-->Tree view, but it is not useful here(it only displays document libraries with folders in "+" or "-" symbols. I want this "+" and "-" for all items which  i am adding from Navigation.  Thanks & Regards, Neerubee

SPHierarchyDataSourceControl - same source as quick launch

I want to display Quick Lauch as TreeView control.  For example it shows Libraires             Site Pages             Shared Documents   I want "Libraires" to be collapsible.  When I switch from Quick Launch to Tree View, I'm not able to see "Libraries" heading.  How can I modify SPHierarchyDataSourceControl to use same source as quick launch?  

Binding the sharepoint treeview to the quick launch data source

Is there any way i can bind the sharepoint treeview navigation to the same datasource as the quick launch bar? I'm trying to create a consistent navigation structure within a 4-site deep structure so the quick launch bar is rather clunky to use, but the treeview picks up on document libraries i don't want it to (i only want it to show subsites and pages).

Enable/disable show Quick launch toolbar option programatically

Hi all, Is there a way to enable/Diable(check or uncheck) show Quick launch toolbar option programatically. I am working in both winXP and windows 7. Regards Goutham

Put metadata navigation above quick launch menu

Hi, I have a problem with left quick lunch navigation. My need is to set my metadata navigation and filtering above quick launch menu. I have no found any artical about this. Does anyone have idea how to do this.  Thanks.

Change style for aspMenu items

I am using a aspMenu that renders the horizontal global navigation with useSimpleRendering="true" so that a list (ul,li) menu implementation is used rather than the table implementation.  My question is - how do I change the style of the UL, LI elements? They have class names such as "root static", "static dynamic children", etc. etc.  I can overwrite the css definition for these styles in my custom css. But what if I want the implementation to use my css element names? I tried with using the "CssClass=classname" and "UseSeparateCss=true" for the <Sharepoint:AspMenu> .... but this doesn't seem to have any influence on the CSS elements for the List. Any suggestions? Thanks in advance, Jake.

Enabling individual items inside disabled listviewitems

I'm struggling with the following and would appreciate some help:

I have a number of items in a listview, some of which may be in a readonly state. When in readonly state, the items are disabled. However, I need the user to be able to remove them by clicking a button which is displayed using a celltemplate on a gridviewcolumn. By default this is disabled by default and setting IsEnabled="true" on the item itself does not enable it regardless of the state of the container.

I'd also like the user to be able to select the item to remove it in a multiselect mode. However selection is also disabled by default. What is the best way to achieve both ways of removing the item?

The item is disabled inside a user control using the following:

ListBoxItem listBoxItem = (Item is int) ? GetListBoxItemFromIndex((int)Item) : GetListBoxItemFromItem(Item);
if (listBoxItem != null)
 listBoxItem.IsEnabled = Enable;

The button is defined in XAML as follows. It is a

Apply Style to checkboxlist Items


Hi ,

How to change colour of CheckBoxList Items Text ?

Ex: chkblstRoleFunc1.Attributes.Add("style", "color:red");

But For above ex, red colour is applied to the Text of all the Items of CheckBoxList. I want it to be applicable for only one Item among all the Items i.e. Red Colour for only one Item and rest all Items in Black Colour(which is the default colour).

Please view the following code that I have Impemented. Is It RIGHT ??
            To change I have to call javascript runtime on CheckBoxList OnLoad event.
Problem is that, below written call to Javascript is not Working.
Please have a look at the below given code :

1) Code Behind :-

if (ds1.Tables[0].Rows.Count != 0)

for (int i = 0; i < ds1.Tables[0].Rows.Count; i++)
chkblstRoleFunc1.Items.Insert(i, new ListItem(ds1.Tables[0].Rows[i].ItemArray[3].ToString(), ds1.Tables[0].Rows[i].ItemArray[1].ToString()));

if (Convert.ToInt32(ds1.Tables[0].Rows[i].ItemArray[2]) == 0)
chkblstRoleFunc1.Attributes.Add("onload", "javascript:setCheckboxColor('" + ds1.Ta

Group links in sharepoint Quick Launch Navigation Panel



I am having sharepoint 2010 RTM Trial on Windows Server 2008 SP2. I have a website based on Team Site.

I am having some Lists i.e. List1, List2, List3, List4 and List5. I want to group them in Quick launch like:

Primary Lists




Secondary Lists



I would also like to see these sections as According Pane Works in ASP.net (On Click, "Primary List" Exposes its childs)


Can anybody helps me out ?



Expand /Collapse quick launch


Hi All,

Can any one help in getting the below link script for collapse and expand quick launch.

I did not find any script. it says to paste script in master page using designer


any idea?

i want exact above link

Thanks in Advance

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