2nd request RadGrid cannot export to PDF

2 posts, 0 answers
  1. Vitaly
    Vitaly  avatar
    78 posts
    Member since:
    Aug 2011

    Posted 11 Oct 2013 Link to this post

    this is my 2nd request.
    Please help me out on this.
    I have a Radgrid and when I try to export to PDF I am getting runtime error:
    Invalid XHTML. RadGrid has to render correct XHTML in order to export to PDF. Parse error: '.', hexadecimal value 0x00, is an invalid character. Line 5036, position 159. at line: 1041399P5655380794N112 08/20/2012500$209.90
    Source: Telerik.Web.UI

    Thanks so much.
  2. David
    David avatar
    128 posts
    Member since:
    Jan 2011

    Posted 11 Oct 2013 Link to this post

    Your request for help does not provide much in the way of details.  For example how are you exporting to PDF?  I can think of at least 3 ways you could be doing this action.  

    The error message you provide suggests, and this is purely a guess, that you are encountering a localization problem.  It seems to be objecting to the period symbol in your dollar amount.

    Have you tried simple debugging steps such as writing to a file rather than to the screen?  Does one method work and not the other?  Are you encountering a post-back error caused by the ajax framework?  I found I sometimes had to cancel post-backs, client side, to allow exports to occur when the grid was hosted in a update panel.  (I found the work around on this site)
Back to Top