Printing in Firefox3 and chrome

6 posts, 1 answers
  1. mark scahill
    mark scahill avatar
    1 posts
    Member since:
    Dec 2009

    Posted 11 Mar 2010 Link to this post

    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
  2. Answer
    Pavel Pavlov
    Admin
    Pavel Pavlov avatar
    2039 posts

    Posted 12 Mar 2010 Link to this post

    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.
  3. DevCraft banner
  4. Jacqueline
    Jacqueline avatar
    9 posts
    Member since:
    Mar 2011

    Posted 06 Jan 2014 Link to this post

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


    Thanks,

  5. Yoan
    Admin
    Yoan avatar
    1070 posts

    Posted 09 Jan 2014 Link to this post

    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 >>
  6. Jacqueline
    Jacqueline avatar
    9 posts
    Member since:
    Mar 2011

    Posted 06 Mar 2014 Link to this post

    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.
  7. Yoan
    Admin
    Yoan avatar
    1070 posts

    Posted 11 Mar 2014 Link to this post

    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.

Back to Top
DevCraft banner