.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

Is there a way to disable the day and week links within the Calendar itself?

Posted By:      Posted Date: September 03, 2010    Points: 0   Category :SharePoint
I'm able to hide the top icons. I'm wondering if there's a way to keep a user from clicking the top of a date or the side of the week and navigating them to another calendar view. I only want to keep them within the month view. Thanks in advance! -Mike

View Complete Post

More Related Resource Links

Disable links based on membership



I've somehow managed to successfully get Membership working on a test site I'm playing with (learning!). I've reached a point where I can redirect users to another page if they do not have the required level of membership - using the allow feature in a web.config within a folder.

What I would like to do now is create a main menu of links (a back office menu visible after the use has logged in), and disable a link if they do not have access to view that page. Is this complex? I'd be grateful for any sample code to get me started.

Many thanks

SSAS Calendar Week commencing with split at month

Hi all, Wonder if someone can help. Our CFO wants to see a cube calendar that shows week commencing but stops at the end of month. For example if the dates are Monday  28th   Tuesday  29th   Wednesday 30th   Thursday 1st    Friday  2nd Saturday 3rd Sunday   4th So for this example the week commencing is the 28th of Month 1 and Thursday is week commencing 1st of the next. I am having a problem seeing how I can do this. If I add the weeks to a standard calendar I get the week commencing 28th which includes the 7 days, naturally. I cannot help feeling I am missing something obvious. Cheers

Ajax Calendar Extender Question (about disable pass date)

HiI am wondering if it has anyway to disable the past day on the Ajax Calendar Control, previously, when we use CalendarExtender, we need to put a asp:Calendar and a textbox. we can use FindControl to find the calendar control and disable the past days.I am wondering is there anyway  could do the same stuff?Another question is how could I read the user selected date to the Date variable?Do i need to convert the date from the TargetControl ? E.g. Convert.ToDateTime(txt_DATE.text) ?Please let me know if you want me to explain more.Many thanksChi 

Disable or Hiding Workspace option when creating a new item in Calendar

Hi, Can any one let me know if there is way to Hide or Remove the WorkSpace option when creating or editing a item in Sharepoint Calendar. I want to Hide or Remove this workspace option in the FARM level.. Is this possible?   Thanks in Advance  

Disable child links in list.aspx : gridView based on some row condations


In the list.aspx page , Datagridview


I want to disable the links to the child table based on condition ,

let say if filed OrderDate is empty at row in table Orders I want to disable link to OrderDetailes for that specific row

Ajax Calendar extender tool -How to disable cells?



I am using an Ajax Calendar Extender  tool in my application.I do wanna disable the past days calendar cells so that the user wont be able to click or select those cells .Can anybody help me ??


i wanna like.....
1. http://air.irctc.co.in



Calendar control - disable dates? (calendar extender)


Hi there,

Does anyone know if it is possible to disable some of the dates available for selection.  For example, on opening the calendar all the dates before today are grayed out so that it is only possible to select dates in the future.

On my site I am using two calendar controls which are representing a start date of an event and an end date.  In the end date calendar I would like to disable all dates before the selected start date.

Is anything like this possible with the calendar control?

Thanks for your help,

Calendar List View Issue - No Month, Week, Day Icons


I'm trying to setup a Calendar view for a list in SharePoint 2010. Everything is working the way I want, except there are no icons to change the view from Month, Week, or Day. Right now, if someone clicks on a date on the calendar, it switches to the Day view. But there is no way for them to go back to the month view.

I open the page in SharePoint Designer, and in the Design view I can see three icons on the Calendar (Month, Week, Day). But at no time do these icons show up anywhere except the design view.

I want it to have the arrow buttons, the month and year (which are already displaying) and then the icons to change the view. How do I get them to appear?

Disable all day event in Calendar list

Hi there,

Is there anyway of disabling the All day Event field in a Calendar list. I don't have the option to hide it either.

Disable deleting events in sharepoint calendar

How can i disable deleting events in calendar of sharepoint 2010.

Disable moving events in sharepoint calendar

How can i disable in calendar of sharepoint 2010 (calendar.aspx) moving events in time (drag&drop events).

How to disable "All day event" of Calendar list in email alerts ?




I have hidded the All day event in display, edit, new forms using javascript code.

I want to hide the "All Day Event","Recurrence",Workspace of calendar list in email alerts



Srikanth Reddy


disable the option to open a form in calendar view


i have created a calendar view with startdate and enddate that was filled in an infopath form.

now in the calendar view on the dates you can see the user's name that filled in the form.

how can i disable the link that opens the form. i just want the other users to see the date and not be able to open the form

SharePoint (Internal Website) when moving to next week in calendar - "Some or all identity reference


When going ont he internal website on SBS 2011, when I want to go the next week in the calendar, I get the following error:-

Some or all identity references could not be translated. (d6f6ed60-30d0-404a-9aec-6be269677c85)

Please help...

Calendar with week numbers and Islamic holidays

This is link to a page which I wrote (Kamel Gazzah) in 2016 and which makes:

- Calendar calculation of one year
- with National holidays
- Islamic holidays based on Moon, Hijri, year
calculation of Hijri date is made using script found in this link
- Ramadan month is displayed in silver background

How To Add calendar control inside a GridView

This article show hot to add calendar control inside a GridView with code in c#
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