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

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

SharePoint SiteMap Top Navigation Clcik Event

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


I created a Sitemap fiel and referenced in masterpage in SharePoint 2007. Everything works fine..when I mousehover on any parent node it is showing all items in a vertical menu bar. I just want to know how to accomplish this with clcik event instaed of onmousehover? because with out doing anything sharepoint provides th mousehover feature to show the respective child nodes from sitemap file. Same thing i need to create onclcikevent.

And aslo how to open the driopdown links in a new window instead opening in the same window (which is a default behaviour)? Any Ideas???

View Complete Post

More Related Resource Links

How to see full navigation for Blogs in SharePoint?




   I want to customize the blogs ,  provided by  sharepoint .

  In the list of blogs I should be able to see the navigation

  as follows

  1)Blog Title and Date and Replies

  2) and navigation as Category of Post >Subcategory of Post > Title of Post

How to achieve this navigation  in sharepoint


Swati Jain



Windows SharePoint Services 3 Search Event ID 2424


This error started on 29 April and I cannot get rid of it...  My search works fine, both site and people.  AD profile import works fine.  Full and incremantal crawls work as scheduled.  Just that this error keeps showing up every five minutes in one of two WFE's.  The other WFE does not receive this error


I have verified all Security Configuration/Service Accounts, verified all Services on Server/Search accounts, Stopped/Restarted all search, and verified SSP accounts.  The last thing I did was verify there was an indexer attached to the SSP...

I set the diagnostic logging to verbose and the only thing that stood out around the time of the error was

System.Data.SqlClient.SqlException: Invalid object name 'AR_CacheCounters'.

SqlError: 'Invalid object name 'AR_CacheCounters'.'    Source: '.Net SqlClient Data Provider' Number: 208 State: 1 Class: 16 Procedure: 'proc_ar_GetCacheInvalidationCountersWithCount' LineNumber: 3 Server: 'SERVER'


Any suggestions?







Quick Note: Add Event Receivers to SharePoint 2010 Lists

In this exercise, you add an event receiver to a custom Microsoft SharePoint 2010 list that is triggered when you attempt to delete an item in the list.

Feature Stapling and the FeatureActivated Event in Windows SharePoint Services 3.0

You can attach (or staple) a SharePoint Feature to a site definition without modifying the original site definition. Learn about issues related to using Feature Stapling with the SPFeatureReceiver.FeatureActivated event.

How to Hide Start Time and End Time for All Day Event in Sharepoint Calendar DispForm

Hi All, Currently, when I add my Calendar web part to my page it displays the date and time for start and end dates. How can I get my web part to hide the times and only show the start and end date when the All Day event box is checked?

Is it possible to use multiple date fields to have an event show more than once on a Sharepoint 2007

Hello, Is it possible to use multiple sets of start and end times to have events display multiple times in a sharepoint calendar? To clarify: - I have the standard fields of "Start Time" and "End Time" in my calendar list. - Events show on the calendar just fine. - Would like to create additional fields called "Start Time 2" and "End Time 2" within the same record and have the event show multiple times on the calendar. - The recurrence functionality of sharepoint will not meet my needs because the pattern I need to use is not in one of the allowed choices. Thanks in advance, John

Sharepoint 2010 List Added Event Problem

Hi All, I have created List Added Event Handler. In that Event I want to Add Custom Field in List as List is created. I get an Error "The Specified Program Requires    a newer version of windows" Is there ant solution for it. I have tried it also creating new instances of spweb and spsite rather than getting it from "Properties" Thanks Saumil Thakkar

Sharepoint and IIS/Windows Event Logs in a single view

Hi - I'm coinsidering addng sharepoint log reading capabilities into an application I've built for reading windows and IIS logs (for more info http://logenvy.com). I know there are quite a few applications capable of reading sharepoint logs (a number are listed here http://stackoverflow.com/questions/781179/sharepoint-2007-log-viewer). Does anyone think the capability to analyse windows and IIS logs alongside sharepoint logs would be useful, or have any logging requirements not well met by the current set of tools? I'm especially keen to explore useful/interesting data visualizations on top of data logs.

Hide the first tab on SharePoint Navigation

I have a publishing site and I want to hide the default first tab in the navigation. I have added the following code to my CSS file (included in the master page). #zz1_TopNavigationMenun0 { display: none !important; } My publishing page does not display the first tab anymore but system pages (View All Site Content, Site Settings pages etc.,) still do. Not sure how to fix this issue.

Sharepoint Event Handler not firing

I have written an event handler for an ItemAdded eventfor a document library. I am trying to read an excel file being uploaded and extract a value from it which I write to a list column for the item. I have this working properly on my development machine which is a Windows Server 2003 machine.However, on a production Windows Server 2008 machine, the event handler never fires. I am doing a simple write to a log file to test and see if it runs at all even if the Excel parsing does not work but I get no indication that it ran. The event handler is being registered with a feature that I am deploying. I have verified that the event handler is registered to the library by using the u2u Event Handler Explorer tool.Is there any way I can determine if my event handlers are even executing? How can I debug this?

SharePoint Login Event

hello, is their an event in sharepoint/c# which i can use for loading the login event whenever someone logins the username and the logintime gets added to a SAP list and runs only when someone logins otherwise it should not...ive managed to add the info in the list but the functions runs everytime when the page refrehes i dont want this ...i want it to do all that stuff when a user logins not on every page load...thanks

Creating image based site navigation using standard sitemap

I know how to create a normal menu and change them the way i want using css, but I dont know how to use images instead of text.I want to make it look cooler using images so in order to do that, I haven't got any ideas at all :(I have seen many websites on internet like this and I dont think its a difficult thing to do for some of you here.Could you please guide me or show me the way forward ? Thanks. 

synchronous and asynchronous event handlers sharepoint 2007

Any one help me out to understand synchronous and asynchronous event handlers sharepoint 2007...why we r going to use..Event Handlers...

Event 3 - Forefront Indendity Manager with SharePoint 2010

Hi! Don´t know if this actully is in the wrong forum, but in my case this is the FIM service that comes with SharePoint 2010 that is the issue here. I got a bunch of event 3 error events in my event viewer that is pointing to the FIM Indentity Manager. I have the CU 2010 for June and Aug deployed. The synchronization is working but it´s not that nice to have all these events in the event viewer. The thing is that they have appeared after deploying the CU updates as I can remember. Below you have some exampels of some event 3: Microsoft.ResourceManagement.Service: Microsoft.ResourceManagement.Workflow.Hosting.WorkflowManagerException: Forefront Identity Management Service does not support workflows of type 'Microsoft.ResourceManagement.Workflow.Activities.SequentialWorkflow, Microsoft.ResourceManagement, Version=4.0.2450.9, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. at Microsoft.ResourceManagement.Workflow.Hosting.HostActivator.ActivateHost(ResourceManagementWorkflowDefinition workflowDefinition) at Microsoft.ResourceManagement.Workflow.Hosting.WorkflowManager.StartWorkflowInstance(Guid workflowInstanceIdentifier, KeyValuePair`2[] additionalParameters) ---------------------------------------------------------------------------------------------------------------------------------------------------------------- Microsoft.ResourceManagement.Workflow.Hosti

how to hide root site node in top/global navigation in sharepoint 2010

how to hide root site node in top/global navigation in sharepoint 2010? I tried to use below provider but it sharepoint asp menu still shows root site as first item. We would like to show only subsites on top nav bar which is Out of box. <asp:SiteMapDataSource      ShowStartingNode="False"      SiteMapProvider="SPNavigationProvider"      id="topSiteMap"      runat="server"      StartingNodeUrl="sid:1002"/>

Anonymous Access to "Event Export" on sharepoint calendar display page

I am using a SharePoint calendar with events added in the list. When an anonymous user tries to use "Export Event" on the display page ,the user is prompted for a login. Is there a way that an anonymous user can download the .ics file without logging in ? Is anonymous access even possible ?    

Event 8305 Sharepoint foundation

Hey guys, I just reinstalled Sharepoint 2010 on a new environment, and I'm getting some fresh errors in my Event Viewer. This one is the most common occurring and I think is directly linked to two other errors involving PerformancePoint. The error looks like this. "Event 8305, SharePoint Foundation - Task Category: Claims Authentication An exception occurred when trying to establish endpoint for context: The provided URI scheme 'http' is invalid; expected 'https'. Parameter name: via." I've looked up on google what it means, and it has something to do with the security token service, which coincidentally an error I have in my SharePoint Central Administration. I've exhausted Google but all roads lead to the same tech website from Microsoft: http://technet.microsoft.com/en-us/library/ff535776.aspx Though this looks like an easy fix, the command it gives is an invalid syntax, and PowerShell gives me the common "The term 'Get-SPServicAapplicationPool' is not recognized....etc." If anyone could shed some light on how to fix this error, I'd be very happy and thankful. 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