.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

Calendar does not print events, Print preview shows blank calendar

Posted By:      Posted Date: September 24, 2010    Points: 0   Category :SharePoint

We are running SharePoint 2010 and when I do a print preview of a Calendar web part the preview shows a blank Calendar with no events, when I print there are no events printed either.  This is from a PC running Windows XP SP3 and IE7.  When I preview and print from the same computer using FireFox 3.6.10 the events are visible and print.

Since not all of our users have FireFox I need to find a way to get calendar printing to work from IE7.

View Complete Post

More Related Resource Links

Printing: Preview and Print from Your Windows Forms App with the .NET Printing Namespace


Printing is an integral part of every complete Windows-based application. Providing robust printing capabilities in these applications has often proved to be a tedious chore. Now, printing from Windows Forms with the .NET Framework means you must adopt a document-centric approach, resulting in cleaner and more manageable code. While the System.Windows.Forms namespace provides seamless integration with all the standard print dialogs (such as Print Preview, Page Setup, and Print), the System.Drawing.Printing namespace offers numerous classes for extensibility and customization. These classes, and how they provide access to printing capabilities, are covered here. Other useful techniques, such as printing in the background to allow the user to continue other tasks, is also explained.

Alex Calvo

MSDN Magazine February 2003

Sync calendar events between two web applications

Hi, I wanted to check if it is possible to sync calendar events between two different web applications in WSS 3.0. Both web applications are in the same farm. I want to know if it is possible to design such workflow in SharePoint Designer 2007 or do I need to use Visual Studio?Thank you.

Important events in a calendar

Hi all forum   I am using an asp calendar which mark the current day with a certain color. But I wish to extend this functionality. I wish to assign certain important events will happen in the future and highlight their days, and when the user clicks this certain day he will be directed to the page of the event.In other words If today is 7-9-2010 it is already highlighted in my calendar I wish to high-light  15-9-2010 cell and may write some tip with it  and when the user click on 15-9-2010 cell he will be directed to events.aspxalso How about binding it to a sql table containing events and the events diplayed highlighted. as if it is a gridview binding to a datasource and on its row command event some funtions will happen

Creating a Calendar view that only shows weekdays.

I've been trialling SP2010 for a little while now, and it looks great. In developing an Intranet, I would like to create a couple of custom views. A weekly calendar view that shows THIS week, in a day-by day format, that only shows monday to friday, with a 1-2 line summary of every entry A way to show on the same page, or link to NEXT week, that shows a similar view We currently have an old/manual Intranet setup that displays the current week + next week, on the same front page, so that Staff can see, at a glance, everything happening in the 2 week period (which is as much information as they want!) Being able to eliminate Weekend from the view is the most important bit, as it enables a bit more room on the screen, and since it's a school, nothing is ever on the weekend anyway! I found a few bits of js code, that are meant to work with WSS2007, but I couldn't get them to work in 2010 (I'm guessing quite a lot has changed) Thanks, Rohan

Can't paste text into an Infopath form and see it with print preview

I have a user who says that they can't view any of their text that they cut and paste into the fields of a form when they choose Print Preview, in the forms library.  They're using IE8 to access the SharePoint site. When I access the same form in the same library from any browser from my computer, I can view pasted text in any field when I click Print Preview. Anyone see this before and can help me?? Thanks!    

Content cutoff in Print preview screen when a print button is clicked from a WPF application in Dell

Hello, I am facing a problem in printing.. I have a WPf+windows application running on the Dell Mini Net book(10") with screen resolution 1366 x 768. I am trying to the print the page with heading, image & some measurements on a 81/2 x 11. the print preview seem to be ok on the desktop(screen resolution 1440 x 900). but when i run same application in dell mini the layout is cutoff, the text is started from the footer area,  the page is not shown completely.. Can any one help me in this regard??   Thanks for the help in advance Archana

How to display print preview from code ?

Hi i'm working on a winform app which hosted of infopath form. is there any way to display print preview of infopath form from code ? in my form, i've used this code to show print preview of the current infopath form : this.formControl1.XmlForm.Print(true); but i got this exception : Specified cast is not valid. can anybody help me where is my problem and how to work-around this ? thanks in advance http://www.codeproject.com/KB/codegen/DatabaseHelper.aspx

Calendar Day View - Location for all day events


How do you get the location to appear in the calendar for an all day event?  Right now, the only info that appears is the title, even though Location is the sub-heading chosen for the calendar columns in both week and day view (month view does not have a subheading choice).  I am unable to get any sub-headings to appear for all day events.

Thank you


Print pdf from .fo file without preview



I have a file. xsl and its file. xml.
I need to print the result of merging the two files(.fo file) without the preview to the user and without saving the result (pdf) to disk.
is it possible?


Get Today's Events from A Calendar That Contains Multi-Day Events as Well as Recurring Events


I'm having trouble getting a list of today's events from a default calendar.

I've tried the following two CAML queries:

 <FieldRef Name=\"EventDate\" />
 <FieldRef Name=\"EndDate\" />
 <FieldRef Name=\"RecurrenceID\" />
 <Value Type=\"DateTime\"><Month /></Value>

Which resulted in the following Exception:

    One or more field types are not installed properly. Go to the list settings page to delete these fields.0x81020014

The calendar list is a default calendar list ie. no additional fields and no changes to the Eve

Expanding Recuring Events in a Calendar list


Hi all,

I have a remote Web service that connects and queries a sharepoint site collection. One specific query is on a events list. Some of the events are recuring so I want these expanded so I can view the individual instances. I am aware that SPQuery is able to do this, but since this service is remote from the sharepoint server, I have been forced to use the Microsoft.Sharepoint.Client namespace to connect to the site collection.

Does anyone know how I can expand the recurring events without having to write my own code to parse the RecurrenceData field of the event item ?

Problem quering calendar list with recurring events


Hi guys,

I need to get all events from a list which are overlap with a range of time (StartDateTime - EndDateTime).

The problem is that recurring events has EventDate as the first day of recurence and EndDate 30 years later so absolutly all ranges of time get into any recurring period.

Is there a way to fix it?

CalendarExtender shows dirty calendar for the first time


Why calendarExtender shows dirty calendar for the first time? (see the image) How to fix it?

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).

Print Without Preview(Crystal Reports)


Guys, I have a page where details are been loaded. Then i have a print button. When i press that button it opens another page where crystal reports viewer is available and loads the report and convert it to PDF and displays it.

Now i need to modify it as it should straightly print when i press the print button rather than going and loading a crystal report viewer. 

Any suggestions please? I tried the PrintToPrinter method, but its not working. I dont want the javascript Window.Print. please help me with any other suggestions.

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: 

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