.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

Creating a VCS calendar event with 'All day event' checked

Posted By:      Posted Date: October 04, 2010    Points: 0   Category :ASP.Net


I've successfully created a but of C# code to create a VCS calendar file, but I can't find anywhere where to set this as an 'all day event'.

Has anyone been able to do this, or is it not an option in VCS?

Many thanks

View Complete Post

More Related Resource Links

Creating Event Handler in Code behind


Hi, so I have a control that is created in the code behind and generates fine but I can't figure out how to create an event handler for it.  I've found plenty of examples for it in C sharp, but none of them seem to apply to VB.  What I want to do is essentially this:

myDropDownList.SelectedIndexChanged = "Event to do here"

but it doesn't seem to work for me.

Any suggestions are appreciated.

Creating a custom drop down field type with SelectedIndexChanged Event

Hi All, I am trying to create a custom drop down field type and I was able to acheive that using the MS link http://msdn.microsoft.com/en-us/library/bb861799.aspx. As per the link, once the custom field is created we can override the "Validate" method to write the Validation logic and that works fine for me too. However I am facing a challenge even before going to Validate . Let me explain my actual requirements here. I need to build a custom drop down field and expose the field to the user in "Edit Properties " Page of a document library. Along with this field, I will be having some OOB site columns in the Edit Properties Page (Ex: Title, Subject etc)  . When user selects a value in the drop down, I need to hide/show few OOB site columns based on certain criteria.  I am facing a challenge of how to capture the "SelectedIndexChanged " event for the Custom drop down field in Sharepoint (Can we wire the SelectedIndexChanged event to a custom dropdown field type) ? Is this acheivable in SP 2010 Custom field type ? If so, how can I do it ? Can any of you kindly help me here?   Regards, Yesh

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?

Checkbox checked changed event inside gridview

Hi All, In my gridview there are 8 checkboxex in each row : 'Sunday' to 'Saturday' and one for 'All'. If 'All' is checked in a particular row, all other checkboxes in that row should be checked instantly, and viserversa. Can i do this in checkbox checked_changed event, if so how do i access the current row of the gridview in the checked changed event? Thanks in advance

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 ?    

SharePoint Calendar "All Day Event"

Whenever "All Day Event" is not checked in Sharepoint calendar, it shows blank, can we force it to show "No" instead of blank . I really appreicate anyone's response.  

All day event for sharepoint calendar

Hi Experts,   Whenever I create an event and if I don't select "All Day Event" , it shows blank. Can we force it to show "No" instead of blank and how to do it? Thanks.

SharePoint 2007 Calendar - add an event to a recurring meeting workspace

Hello all,

I was wondering if someone can answer this problem I am having. 

Simple Question: Are you able to add an additional event into a recurring event which is linked to a meeting workspace?

Long version:

I create an event in a calendar with the recurrence of every monday for the month. (4 dates lets say)  We have a special meeting to add to the meeting workspace, so I add an additional event in the calendar and try to add this date (15th lets say) to that previous meeting workspace series.

My problem is that the ability to add the new date (15th) to the series doesn't show me any options to add to that previous meeting workspace, I can only create a new meeting workspace.

My colleague who has used SharePoint 2003 at another workplace is 100% sure she could do this, however I am at a loss where SharePoint 2007 allows this functionality.

In a new calendar, I tested this theory by creating 3 events with recurring dates and creating an associated meeting workspace with each of them.  Not once did I get the option to add the event to another meeting workspace.  I added an event with no recurrence with an associated meeting workspace, the very next event could add to that meeting workspace which is what I want except to a recurring meeting workspace.

From my analysis, any event that has a recurring series

Default Duration for calendar event


Hi everyone,

I'm looking for a way to modify the default event duration for a user who adds items to a sharepoint calendar.  I've found the examples on the internet that use jquery, but none of these appear to work for SP 2010.  It changes the "end time" value, but sharepoint then changes it right back.

I'm fine modifying some values on the back end - I know that somewhere the default time is set in a file, but I have no idea where it is despite my looking.  Apparently SP 2007 had a default duration of 30 minutes, but now 2010 has a default duration of 1 hour.  I'd love to be able to change this.

I'm fine editing the aspx pages, but need some more guidance on what is possible with SP 2010.  I tried adding a content editor webpart, but it kept saying that my code might have been changed (although it doesn't appear to have been).

Thanks for any help!


Simplest way to get a month change event on WPF Calendar (.net 4.0)



is there a simple way to receive some event as soon as someone turns the wpf calendar to the next or previous month?

The calendar is used as a user control part. (If this info is necessary)

At least i tried to handle this over some code via "DependencyProperty" to access the contend and the changed event of the "PART_Header...".

Unfortunately that won't solve my case.

Best regards,


Rotational event is calendar control


I need help getting a drop down list selection to populate a calendar.  The user selects a vehicle from the dropdownlist and based on that selection, the calendar needs to populate a link with drivers names on whatever days the vehicle is rented out for.  Anyone have a solution?

Calendar View: Unable filter Recurring Event by Start/End Time and Group by Recurring Event View

Hi All,
I have just found several issues with Calendar View from WSS 3.0:

Unable to filter by [Start Time] and [End Time]
I am not sure why these 2 columns doesn't appear in the Filtering column in the View Settings. The workaround found in the internet is to create calculated column for Start Time and and End Time. However, it doesn't work for Recurring Event, the calculated column will show only first recurring event Start Time.

Unable to use "Group By"
When I create new view in Calendar using format: "Standard View, with Expanding Recurring Events", there is no option to specify "Group By". Anyone knows how to show all recurring event in List view and grouped by Start Time (or any other column).

Thank you and apprecate for any idea.

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.

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: 

How to delete the default columns( All day Event field ) from the Calendar List in sharepoint?



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

Any help appriciated...


Srikanth Reddy

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


Can I change the default color of a calendar event?

I have a couple calendars that will be using the overlay functionality in 2010, and chosing colors for the overlays is no problem.  However the main calendar defaults to green, and then when you open any of the overlay calendars their default color is green on their calendar but different on the main version.  Is there a way I can change the default so that either the main calendar doesn't show green (then each overlay owner wouldn't be confused), or to change the seperate overlay calendars to have their default match the selected overlay color?
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