This is a migrated thread and some comments may be shown as answers.

Printing and appointment text

11 Answers 186 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Richard
Top achievements
Rank 1
Richard asked on 11 Aug 2008, 04:06 PM
Not sure what you want in the way of examples so let me know.

In Outlook if you create an all day appointment and try to print a month calendar you get a 1/4 " block and the letters get truncated at the end (if you have that many).

If you take the same appointment and give it a start time - Outlook suddenly creates a vertical task on the month calendar and you get almost unlimited text and it just looks better.

I need my scheduler to look like option 2.  My client wants to print this calendar showing 1 months activities at a time on 1 page of a pdf.  Typically they get about 3 activities on a day max and all 3 print off enough text to see what it is.  I can send you an example of that if you need it.

I just can't figure out how to make the scheduler give anymore to an appointment on a month view than the 1 line.

Finally - I have my schedule color coded - and when they print it out either to a printer or pdf file, the colors vanish which also defeats the purpose of this.

Thanks in advance!!

Rich

11 Answers, 1 is accepted

Sort by
0
Simon
Telerik team
answered on 14 Aug 2008, 10:48 AM
Hello Richard,

Please refer to this KB Article which shows how to set the Appointment's height to accommodate the entire subject's text in Month View.

All the best,
Simon
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Richard
Top achievements
Rank 1
answered on 14 Aug 2008, 10:22 PM
PERFECT!!  THANKS.

Now what about the printing not showing the colors?  I am doing the standard .css stuff for colors like this:

.rsApt.Client .rsAptWrap
{
 background: #c1adc8 url('Img/client.png') repeat-x;
 border: solid 1px #9b8fa3;
 border-top: solid 1px #c4bdc9;
}
.rsApt.Both .rsAptWrap
{
 background: #d1bfa5 url('Img/both.png') repeat-x;
 border: solid 1px #d1bfa5;
 border-top: solid 1px #e3d8c8;
}

It looks great on the web page - but when you print it the colors disappear!!

Thanks,
Rich
0
Richard
Top achievements
Rank 1
answered on 22 Aug 2008, 09:45 PM
This worked fine on one box running VS2005 and .NET framework 2 - didn't work at all in framework 3.5 with VS2008.

Any ideas why?

Thanks,
Rich
0
Peter
Telerik team
answered on 25 Aug 2008, 07:00 AM
Hi Richard,

Could you please specify if the colors appear as expected in the browser and if the problem occurs only after you print a page? Also, about the last issue, can you send us a sample project which we can test locally?


Regards,
Peter
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Richard
Top achievements
Rank 1
answered on 28 Aug 2008, 04:01 PM
The colors work great online.  I am using three - 

.rsApt.Client .rsAptWrap
{
 background: #c1adc8 url('Img/client.png') repeat-x;
 border: solid 1px #9b8fa3;
 border-top: solid 1px #c4bdc9;
}
.rsApt.Both .rsAptWrap
{
 background: #d1bfa5 url('Img/both.png') repeat-x;
 border: solid 1px #d1bfa5;
 border-top: solid 1px #e3d8c8;
}
.rsApt.Boxwood .rsAptWrap
{
 background: #bcd1a5 url('Img/boxwood.png') repeat-x;
 border: solid 1px #9faa89;
 border-top: solid 1px #c7cdba;
}
0
Richard
Top achievements
Rank 1
answered on 02 Sep 2008, 09:16 PM
Please note: - I don't care what colors I use, I just need 3 different ones!!
0
Peter
Telerik team
answered on 03 Sep 2008, 02:26 PM
Hello Richard,

Please, check the "Print background colors and images" option in your browser advanced options. I am sending you a screenshot for reference for IE7 browser.


Best wishes,
Peter
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Richard
Top achievements
Rank 1
answered on 03 Sep 2008, 03:22 PM
Peter,
In one of my threads Telerik sent me a project called AjaxEnabledWebsite - I am using the Office2007 skin.  If you change the skin on this project to Office2007 instead of Default - you can't print a monthly calendar.  If you leave it as default, it works fine.  You can see this just by doing a print preview on the month view.

So after I changed my ie 7 setting, it still didn't work because of the above.

Also - mine didn't work under the default either - all I got was the top boxes that have my color code in it and that was it.  I can send you my project, examples, whatever you like but time is getting critical!!!

Thanks,
Rich
0
Alex Gyoshev
Telerik team
answered on 04 Sep 2008, 06:33 AM
Hello Richard,

The following styles will make the scheduler printing work:
div.RadScheduler .rsHeader *, 
div.RadScheduler .rsFooter * 
    displaynone
 
div.RadScheduler .rsFooter 
    height20px
 
div.RadScheduler .rsHeader h2 
    displayblock
    padding-left10px
    font-size18px/* for better display */ 
 
div.RadScheduler .rsContent 
    heightauto !important; 

We'll do our best to include proper printing styles for future releases.

Regards,
Alex
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Frank
Top achievements
Rank 1
answered on 04 Sep 2008, 12:30 PM
Alex,
Getting closer....

When I included the key on my page - that is still all I get.  If I get rid of the key then 1 calendar prints correctly.  On my form I have 12 scheduler controls,  each for 1 month.  When I print, only 1 of the calendars print, not the whole 12.

What can I send you to help???
Rich
0
Alex Gyoshev
Telerik team
answered on 04 Sep 2008, 01:31 PM
Hello Rich,

Are you sure that the RadSchedulers are not on several pages (Print Preview shows only one page by default)?

If you open a support ticket and send a sample project or provide a live URL, we will be able to investigate further.

Sincerely yours,
Alex
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Scheduler
Asked by
Richard
Top achievements
Rank 1
Answers by
Simon
Telerik team
Richard
Top achievements
Rank 1
Peter
Telerik team
Alex Gyoshev
Telerik team
Frank
Top achievements
Rank 1
Share this question
or