Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic asp.net control and printing question (Read 2832 times)
dimmer
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 21
Joined: Jun 27th, 2007
asp.net control and printing question
Sep 20th, 2007 at 3:49pm
Print Post  
Hi

Two questions today...

First - I noticed in the Featured Suggestions section that you mentioned that development on a web version of the control had been started last year.  Just wondering if you are able to provide any approximate date as to when you are hoping to have it ready...

Secondly, I have a requirement for printing that seems kind of complicated...

Currently we have a Public Folder (Calendar Items) in Outlook used to track appointments.  When a user wants to print a list of all appointments for a given month, they click a button that launches a macro that transfers all appointment headers to a Word document.

The Word document consists of two pages, each containing a table with 3 columns and 5 rows, with each cell representating a day of the month.  The reasoning behind this method was that more space would be available to display appointments for each day...

It seems as though the PrintOptions and ReportOptions classes will be unable to replicate what we're doing currently. 

I probably haven't explained this very well but I'm  hoping that you could offer a suggestion or point me in the right direction...basically I have to print out a Single Month view with as many app headers per day as possible.

Thanks again for your help
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: asp.net control and printing question
Reply #1 - Sep 20th, 2007 at 4:28pm
Print Post  
Hi,

The ASP.NET project has been on hiatus for some time. Our developers will return to it again in a few weeks, but don't rely on getting a Web Forms version of Planner.NET soon.

If you can change your table format a bit, you might use week views, where the days of each week will be displayed in a single row of the table. Thus you could print 3 weeks on the first page and 2 weeks on the second to display a full month.

Stoyan
  
Back to top
 
IP Logged
 
dimmer
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 21
Joined: Jun 27th, 2007
Re: asp.net control and printing question
Reply #2 - Sep 21st, 2007 at 2:22pm
Print Post  
Okay, with the weekrange view I'm definitely getting closer to what I need...

Is it possible to print a specific number of columns from this view?

For instance, my FirstDayOfWeek is set to Monday, and I'm displaying an entire month at a time.  What I'd like to do is print the Monday, Tuesday and Wednesday columns on one page, and print the other three columns on a second page.  That way I could put the two pages beside each other and have the entire month spanned out over two pages.

Thanks for any suggestions
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: asp.net control and printing question
Reply #3 - Sep 24th, 2007 at 5:08am
Print Post  
You can try adjusting the Calendar.PrintOptions.Scale property, so that the print output's width fits exactly on 2 pages. For example, you can use the 'Increase Size' and 'Decrease Size' options in the PrintPreview window until you find a scale value which produces the desired print size, then preset this scale factor programmatically before the printing is performed, like this:

Code
Select All
calendar.PrintOptions.Scale = myScaleFactor;
calendar.Print(); 


Changing the size of the calendar control being printed would require to change the precalculated scale factor as well.

Meppy
  
Back to top
 
IP Logged
 
dimmer
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 21
Joined: Jun 27th, 2007
Re: asp.net control and printing question
Reply #4 - Sep 24th, 2007 at 12:52pm
Print Post  
Cool; seems like that should do the trick.

Thanks again
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint