DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: How to display AJAX binary data?

  1. #1
    Join Date
    Apr 2007
    Posts
    1

    How to display AJAX binary data?

    Ok, maybe this is simple, but maybe not.

    I can get the binary representation of a PDF file via an AJAX call and have the results returned in object.responseBody.

    How do I, via javascript, display the resulting PDF in a new window?

    Thanks,
    Les

  2. #2
    Join Date
    Apr 2007
    Location
    Sunny Adelaide
    Posts
    13
    Hi Les,

    I don't think that's possible and in any case I don't think that it's a good idea to try.
    Instead you could create simply a new window with the URL of the PDF. If the PDF is generated server-side, make it a parameterised GET request to your server-side application.

    Regards,
    - P
    Brevitywit

Similar Threads

  1. MSFlexGrid display issue.
    By BOOGIEMAN in forum VB Classic
    Replies: 2
    Last Post: 09-28-2005, 02:35 PM
  2. Replies: 0
    Last Post: 08-30-2005, 04:16 AM
  3. Data display issue with ASP
    By Joe Public in forum ASP.NET
    Replies: 1
    Last Post: 06-20-2001, 03:42 PM
  4. bytearray to string of binary data
    By Joar Vatnaland in forum Web
    Replies: 0
    Last Post: 09-22-2000, 04:14 AM
  5. Replies: 2
    Last Post: 09-02-2000, 06:52 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center