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

Printing in Firefox3 and chrome

5 Answers 37 Views
GridView
This is a migrated thread and some comments may be shown as answers.
mark scahill
Top achievements
Rank 1
mark scahill asked on 11 Mar 2010, 03:40 PM
I'm trying to print with the RadGridView PrintToHtml().

It works well in IE, but not at all in Chrome or Firefox (3.5.7).
(Firefox twitches the display but otherwise does nothing, Chrome crashes the silverlight control).

Using the latest (Q3 2009) version of the rad controls for silverlight.

I get the same problem using the example code...
http://localhost:6519/Default.aspx#GridView/Printing

Is printing supported in Firefox or Chrome?

Is there any way of telling within silverlight the browser type so I can at least prevent the print option appearing in non-supported browsers?

Any help will be greatly appreciated

Thanks,

  Mark

5 Answers, 1 is accepted

Sort by
0
Accepted
Pavel Pavlov
Telerik team
answered on 12 Mar 2010, 03:50 PM
Hello mark scahill,

This is a known issue and we are working on it . Unfortunatelly so far printing is relieble only in IE .

Regards,
Pavel Pavlov
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Jackie
Top achievements
Rank 1
answered on 06 Jan 2014, 12:56 PM

Is there an update for this yet? I still have the same issue using PrintToHtml in Chrome and Firefox.


Thanks,

0
Yoan
Telerik team
answered on 09 Jan 2014, 04:59 PM
Hello Jacqueline,

Indeed, PrintToHtml() is a legacy method. In our latest version of RadControls you should use RadDocument as described in this online example.


Regards,
Yoan
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Jackie
Top achievements
Rank 1
answered on 06 Mar 2014, 03:26 PM
We need a solution where we will be able to apply this to any datagrid we have without having to make a new section to handle it. Every datagrid has a different amount of columns and we have too many datagrids throughout the program to have to do this for each one. In this example we would have to add the different columns as 'Business Objects' for each datagrid and apply a different change for every single datagrid. We need the functionality of the printtohtml function where we can just pass in what datagrid it is but applied to chrome.
0
Yoan
Telerik team
answered on 11 Mar 2014, 05:05 PM
Hello Jacqueline,

Actually, you can pass every single RadGridView control to the Print method. Please check the print method which is located in the PrintAndExportWithRadDocument class. For your convenience, I have prepared a sample project based on the mentioned online demo. Please give it a try and let me know how it works for you.

Regards,
Yoan
Telerik

DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.

Tags
GridView
Asked by
mark scahill
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
Jackie
Top achievements
Rank 1
Yoan
Telerik team
Share this question
or