.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

Fly-out menu and Calendar Web Part conflict

Posted By:      Posted Date: December 04, 2010    Points: 0   Category :SharePoint

On my Top Links Navigation Bar, I have a fly-out menu implemented through Javascript. However, I have an issue. On pages containing Calendar Web part, the "Pull Down / Fly-out" does not work. I am not sure what is the conflict with Calendar Web Part.

Here is my code.

var titleTabName = $(this).attr("ows_Title");
var urlTab = $(this).attr("ows_Tab_x0020_Link").split(',');
var titleTabID = 'topNav' + titleTabName.replace(/[-' ']/g,');
var showTabAppend = titleTabID + 'Append';

var urlTabShow = 'href=' + urlTab[0];
var pulldownClass = 'dynamic-children';
var pulldown = '<ul class="dynamic '+ showTabAppend +'" style="" id=""></ul>';

var tableRow = '<li class="static '+ pulldownClass +'"><a '+ urlTabShow +' class="static '+ pulldownClass +' menu-item"><span class="additional-background"><span class="menu-item-text">'+ titleTabName +'</span></span></a>'+ pulldown +'</li>';


View Complete Post

More Related Resource Links

SharePoint Calendar Web Part

Can anyone tell me if there is a way to set permissions on a calendar so that the person that made the entry is the only one that is allowed to edit or remove it?  I can't think of anyway to accomplish this with a SharePoint 2007 calendar web part.  Any ideas?

SharePoint Calendar Error: The "ListViewWebPart" Web Part appears to be causing a problem. Index was

In one specific SharePoint calendar, on one specific week in that calendar when we select the "more items" link in the monthly view (or the expand all option) we get the following error:
The "ListViewWebPart" Web Part appears to be causing a problem. Index was outside the bounds of the array.

Web Parts Maintenance Page: If you have permission, you can use this page to temporarily close Web Parts or remove personal settings. For more information, contact your site administrator.
Troubleshoot issues with Windows SharePoint Services.

If we select a different week the expand and collapse works fine in that calendar.

Google or similar type of Calendar web part on MOSS site



I would like to know how to use Google calendar or similar type of calendar web part on MOSS site.

my requirement is as below

 The Calendar component should display the current month with the current day highlighted.  Days with events will be bold.  The component will have a link to view all events [by current month? / for next 30 days].

WPF Toolkit Vs WPF Themes - conflict to render datapicker/calendar

Hi all   I have searched and i did not find a solution for this problem. The Theme that I have downloaded from http://wpf.codeplex.com/wikipage?title=WPF%20Themes are doing something wrong with my calendar and i could not find how resolve it.   The problem is kind of simple. http://picasaweb.google.com/dufagundes/I#5512056146096648290 this image show what is going on and I appreciated if someone know why is that.   tks

Add "New Calendar" to the site actions menu in SharePoint 2010

I really like how SharePoint 2010 uses Silverlight to allow users to create a new Document Library from the Site Actions menu.  I would like to alter the v4.master page and add a new menu item to the Site Actions menu that allows the user to create a new Calendar.  How do I alter the code below to make a new menu item that will create an events list? <SharePoint:MenuItemTemplate runat="server" id="MenuItem_CreateDocLib" Text="<%$Resources:wss,siteactions_createdoclib%>" Description="<%$Resources:wss,siteactions_createdoclibdesc%>" ImageUrl="/_layouts/images/NewDocLibHH.png" MenuGroupId="200" Sequence="220" UseShortId="true" ClientOnClickScriptContainingPrefixedUrl="if (LaunchCreateHandler('DocLib')) { GoToPage('~site/_layouts/new.aspx?FeatureId={00bfea71-e717-4e80-aa17-d0c71b360101}&amp;ListTemplate=101') }" PermissionsString="ManageLists" PermissionMode="Any" VisibilityFeatureId="00BFEA71-E717-4E80-AA17-D0C71B360101" />

Programmatically adding Calendar web part with summary view or custom view?

Within my feature I am adding a calendar web part to page.  I would like to specify the summary view (not the full graphic calendar view).  Is this possible? Is it possible to create a custom view and set the listviewwebpart to this custom view through code?   thx -davedave

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.

Linking a WEBCAL calendar into a MOSS 2007 Web Part


I have been trying to link a WEBCAL calendar into a calendar Web part in MOSS 2007. I am able to import the WEBCAL into my Outlook, but have not figured out how to do so in a Web Part. I have tried tying it back to my Outlook 2007 calendar, directly entering the WEBCAL URL, and tried it as a Page View web Part as well.  I have had no luck other than getting various error messages saying that the URL is invalid or the page cannot be displayed.

I need the WEBCAL calendar to appear like an Outlook calendar, but on the MOSS page.

Here is an example WECAL URL that i have been working with.   webcal://www.ercot.com/ical/meetings?host_id=TAC

Any help or comments would be appreciated


Calendar Web Part for use in 2 locations - Top level site and Sub-site?


Please Help!

I have created a Calendar Web Part at a top level site; I would like to use this exact same web part in a sub-site.  I need for the web parts to share the same information and if an event is entered into one web part the second one would automatically show the new information.  This is why I would like to use the exact same web part, just display it in two locations. I was able to do this with SP2007 & 03 but cannot seem to do this in SP2010.  

Does anyone know how to do this in SharePoint 2010 Standard ed.?  Is this even possible in SP2010?

Thanks in advance for your help.

Remove Saturday and Sunday from Calendar Web Part View MOSS 2007



Is there a way to remove Saturday and Sunday from the default calander web part view.  I need to get my calendar to fit in a 800x600 window, so users do not have to scroll.  I would just like for the calendar to show Monday through Friday.

Data view web part and item menu


Good morning, I'm using the SharePoint Designer 2007 and I would like to show the item menu using the data view web part. Below is an example of what I want to do:

How can I do that?

Calendar Web Part for SharePoint that displays and gives fetails of events from an event list: Value

Hi All,

         I have followed the following post to create the custom Calendat webpart, that displays the details of events from events list. 

But i am getting the following error when i click on the dates shown as there are some events. The error looks like the following,

Server Error in '/' Application.

Value does not fall within the expected range. 
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.ArgumentException: Value does not fall within the expected range.

Source Error: 

Change the date format of calendar web part



I have displayed summary view of calendar web part and want to change the date format from 10-24-2010 to 10-24 I don’t want to display the year can anyone help me please


Import Events from Calendar Site to web part event.


Hey experts!

I'm having problem on which i want to view the events from this site navigation: Home>Calendar>Public Calendar to be appear on the Homepage. I tried to user Event web part, but the navigation is from Home > Events.

So, its difficult for my user when they have created events in the Public Calendar, and automatically can be view in the Homepage is not possible. I tried using workflow, but it does not work.

What i want is the calendar part in the Home > Calendar > Public Calendar can also be view in the Homepage. I dont mind if there is any paid web part to be use as long as it can meet my requirements.

Make calendar web part narrower?

Is there a way (without completely doing the CSS that styles the calendar), to make the calendar narrower when it is displayed in a web part?  I know I can make the web part itself narrower, but then that creates a scroll bar on the calendar.  That thing is just so darn big!
There are no mistakes; every result tells you something of value about what your are trying to accomplish.

WPF: If Heineken did MVVM Frameworks Part 4

MVVM is to have an instance of a particular Model (say currentPerson) inside my ViewModel (say PeopleViewModel) which is exposed to the View (say PeopleView). The View binds and edits the Model directly.

This definitely flies in the face of what most people consider to be the holy grail of MVVM pattern, but it's a fairly new pattern, so people are still finding their way with it every day, and this works for me very well. The reason I do what I do, is for the following reasons:

1.I have always had the luxury of being able to write my own UI specific Model classes. I would even do this if I was using some other Model classes first, such as LINQ to SQL or LINQ to Entity Framework. As these classes don't have everything a proper WPF Model class needs in my humble opinion. Though, they are pretty good, as they are Partial classes and use INotifyPropertyChanged/DataContract etc etc
2.I am a pragmatist and I do not like writing code for the sake of writing code. I have seen some MVVM apps where the author has had a Model with 50 properties on it, that are simply repeated in the ViewModel abstraction, where the ViewModel added nothing. On that day I decided I would never do that unless I have to.
3.I honestly see no harm in writing directly to the Model from the View, JUST SO LONG AS if the Model is InValid its data NEVER makes its way to the database. I honestly see no pro

ASP.NET Menu with jQuery Superfish

Choosing the right type of menu for a website is not easy at all. The ASP.NET Menu Control is definitely NOT a good starting point due to the horrendous markup it renders, nor is it good for SEO because of the Markup/Content ratio, neither can it be easily styled.
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