Problem implementing the printing functionnality

6 posts, 0 answers
  1. Ludovic Gerbault
    Ludovic Gerbault avatar
    226 posts
    Member since:
    Apr 2009

    Posted 24 Sep 2009 Link to this post

    Hi

    I tried to use your example to provide a printing support on my grid.

    Basically, I only copied the printhandler as is, and the code snippet that I attached to a contextmenu in the rowloaded event.

    Code seems to work fine, but when I run it, the server returns a not found error concerning the file Output.html

    So I checked in your exemple ifthere was one, I didn't find any. I created an empty text file with an html extension anyway, but it only displays a popup with a blank page, nothing there to print.

    Am I missing something ?

    Ludovic
  2. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 25 Sep 2009 Link to this post

    Hi Ludovic,

    Most probably ASP.NET account does not have enough rights to write file - can you check this?

    Best wishes,
    Vlad
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. DevCraft banner
  4. Ludovic Gerbault
    Ludovic Gerbault avatar
    226 posts
    Member since:
    Apr 2009

    Posted 25 Sep 2009 Link to this post

    Well, I gave the IIS_USRS account a full control access rights, but it doesn't seems to fix the problem at all. (I'm on Vista 64 with IIS 7)

    I still got the same 404 message.

    I must admit that I'm not that familiar with IIS configuration thought, so I wouldn't be surprised if i'd miss something.

    The only thing I changed between your example and my code is the namespace and the name of the grid.

    I have no clue why it would'nt work.
  5. Ludovic Gerbault
    Ludovic Gerbault avatar
    226 posts
    Member since:
    Apr 2009

    Posted 03 Dec 2009 Link to this post

    Hello

    I'm back on a similar issue.

    I manage to have my grid printing fine in the Q2.
    Then I updated my application to the Q3 (build 1127), and tried implementing the printToHtml function.

    But when the code reaches this method, I see that the Exporting method is being called as well, but nothing prints at all.

    And I have the same behaviour with your demo.

    Is there some bug with the printToHtml method  ?
  6. Ludovic Gerbault
    Ludovic Gerbault avatar
    226 posts
    Member since:
    Apr 2009

    Posted 03 Dec 2009 Link to this post

    Correction : The PrintToHtml doesn't work on Firefox 3.6b4.
  7. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 08 Dec 2009 Link to this post

    Hi Ludovic,

     Unfortunately you are right! We are aware of this problem however didn't found stable solution so far - we will do our best to fix this as soon as possible.

    Regards,
    Vlad
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top
DevCraft banner