.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

Qustom Quick Access menu >> Hide based on special criteria

Posted By:      Posted Date: October 05, 2010    Points: 0   Category :SharePoint

Sorry, The Content you are looking for is no longer available.

View Complete Post

More Related Resource Links

Hide documents from being access by unauthorized users.


Hi experts,

I would like to know how to hide certain documents (eg. Word, Excel, PPT, PDF) in a document libraries from unauthorized users? I tried implement Target Audience, but it doesn't work. If anyone know, i really appreciate for the guidance.

p/s: If my posting is not relevnt to the thread, please kindly move it to the appropriate places. Thanks!

Hide li of Ul in menu??



   is it possible to hide certain Li of an Ul and show them at certain page???


<ul class="ProfileMenu">
                                    <li><a class="linkbutton" href="<%=ResolveUrl("~/")%>Home.aspx">Home</a></li>
                                    <li><a class="linkbutton" href="<%=ResolveUrl("~/")%>RegCustomers/CEditProfile.aspx">
                                        Edit Profile</a></li>
                                    <li><a class="linkbutton" href="<%=ResolveUrl("~/")%>RegCustomers/CChangePassword.aspx">
                                        Change Password</a></li>
                                    <li><a class="linkbutton" href="<%=ResolveUrl("~/")%>RegCustomers/CChangePassword.aspx">
                                        View Purchase Detail</a></li>    

suppose i have this(above) in master page.

now when user navigate to certain page then i want to show all LI otherwise just First LI to be visible???

plz guide me..

how to hide/display controls in NewForm.aspx based on dropdown value in SharePoint list



I have 1 dropdown in my sharepoint list with other columns. If dropdown value equal to 'xyz' i need to display some other controls, otherwise these controls should be hidden.

I know we can achieve this with javascript. If any one can provide code or sample then it will be appreciated. or is there any other alternative methods to do this ........

Thanks & Regards, Neerubee

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

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.

Hide top menu search bar in Sharepoint server 2010

Hi I've tryed this guide to hide the top menu search bar with Sharepoint Designer in Sharepoint server 2010 ------------------------------ Open SharePoint Designer          Open the site in SharePoint Designer   On the left navigation pane, click on “All Files” (bottom item on menu)   Click on the folder “_catalogs”   Click on the folder “masterpage”   Click on the file “v4.master” An overview will open Make sure that you have selected “Split mode” viewing          Click on “Edit file” (I hope this is correct, because I have a Dutch version)          Select “Skewer click” on the ribbon          When you click on a item, you are presented with a submenu. Select in this case, the Help-button, “a#TopHelpLink” For the Search-field, you have to select “div#s4-searcharea.s4-search s4-rp”.          In the code properties screen, on the right side, select Style          And set visibility to “hidden”   Save your master file. ------------------------------ But it dosn't work, it puts a little red line under "hidden", Like if y

Infopath 2007 Repeating Table hide row based on Text values of column

Infopath 2007 browser based form Full Trust Example: I have a repeating table (FruitChoice) that has multiple columns. Both drop down list point to sharepoint list data sources. Choose your tree ft. drop down list – 6Ft Choose your Department drop down list - 103 This repeating table is conditional on the drop down values. This works great. Trees     Fruit       Cost   Date Ordered    Date Delivery Department 6Ft        Peaches                                                        103 3Ft        Apples                                                          102 3Ft        Peaches         &

how to hide site actions menu

Hey, Just wondering if anyone can help me try and hide the Site Actions menu either by using a HTML Form Web Part or changing the master page. Cheers

Hide Site Actions menu for few groups on a specific aspx page.


Hi All Gurus,

I am facing a issue. I want to hide the site actions menu to few groups, which have high level permission on other pages but they dont need to access "site actions" link on only this page.

Can some one tell me a why using Javascript or some quci fix for this in SPD level.

Pls looking forward for your help...

Happy Sharepointing..


Hide Label Based on Label Text?


Is it possible to display or hide a label based on the text rendered in it?
I have a label that will display the value of a control on the previous page. If the value rendered is "0" then I want to hide the label or hide the label and one more label associated with it. (or if the value is more than "0" make it visible)

Any suggestions would be great.


Show or hide programmatically based on audience


I'm trying to either show or hide a datalist control based on a users Audience.

      AudienceLoader audienceLoader = AudienceLoader.GetAudienceLoader();

      string audienceFieldValue = "United States";

      if ((AudienceManager.IsCurrentUserInAudienceOf(audienceLoader, audienceFieldValue, false)))
        DataList2.Visible = true;
        DataList2.Visible = false;

I have tried couple different things this is where I'm at now... any help would be appreciated.




Hide context menu except workflows

I have added 3 lists as 3 web parts in a page.I have to hide context menu(View Properties,Edit Properties,Alerts,Workflows,Send To,Manage Permissions,Compliance Details and Delete) except workflows only for 1 webpart for particular users.Please help me out in this regard...It's very urgent.

Remove/Hide empty space of quick launch from web part page


I created a document library, whose type is "Web Part Pages". When I create a new web part page in this document library the quick launch is missing from the pages. There's a gap on the left side of the web part page for about 200px where the quick luanch would have been.

I don't necessarily want the quick launch to show up at this point. But I don't want the empty space in there either. I would prefer that the web part page covers the empty space on the left side. Can you please advise how to fix this? I had created a subsite before where I don't have this problem.

Let me know if it's not clear about what I mentioned above. Unfortunately I can't post an image here to show what I'm referring to.


How to Hide the Ribbon and Site Actions Menu for Anonymous Users in SharePoint 2010?


How to Hide the Ribbon and Site Actions Menu for Anonymous Users in sharepoint2010?


any thoughts?

Thanks in Advance!

Share Knowledge and Spread Love!

Hide a node from appearing on menu not on breadcrumb (using SqlSiteMapProvider)



I am using wicked code sqlsitemapprovider and it's VB version. Most of the things are going OK! But when I wanted to hide some of the nodes from appearing on menu while staying shown on sitemappath I cannot figure it out. I tried to change the sqlsitemapprovider code but was unsuccessfull. I have found David Sussman's answer. but it was for a .sitemap file. So how can I manage to do the same with the sql sitemap provider mentioned above.

I added a column named visible to my SiteMap table it's type is bit and then I have done these changes (Sorry for such long code):

Imports System
Imports System.Web
Imports System.Data.SqlClient
Imports System.Collections.Specialized
Imports System.Configuration
Imports System.Web.Configuration
Imports System.Collections.Generic
Imports System.Configuration.Provider
Imports System.Security.Permissions
Imports System.Data.Common
Imports System.Da

Hide edit button on editform based on whether the user is item's creator


Hi Everyone


I would like to hide/show the edit button on a list item's edit form based on whether the user is the item's creator.  The reason I want to do this is because SharePoint's out-of-the-box behaviour is such that when a user edits someone else's item, the Access Denied page pops up AFTER the user makes his/her edits and presses ok.


My users want the edit button to be hidden so they don't have to go through the steps of making the edits, press ok, and then find out their access is denied.


I have done some research, and the approach I have arrived at is to create my own edit item user control, which has my own cutom code which checks if the user is the creator, and then hide/show the edit button.  I have 2 questions surrounding this:


1) Can anyone provide some advice or resources on the web which describes how to best implement an edit form user control and then integrate it into SharePoint so that the user control is only used on my particular list, and doesn't affect anything else in the site collection.


2) Can anyone suggest another approach perhaps requires less custom development effort than the custom user control approach?

How to hide matrix rows based on values?


I have a matrix settled upon an MDX Query using Reporting Services 2000.
In columns i have the Months and in  the Lines and i have Products, so what i need todo is hide the rows that have a 0 value in all months.

How can this be achieved?

Best Regards,
Luis Simões
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