DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Xmlhttp

  1. #1
    Join Date
    Aug 2005

    Question Xmlhttp

    hi guys / gals,
    i have a small query with xmlhttp,

    i have a AA.aspx page, this page must be submitted along with the form values(it contains a datagrid values) using xmlhttp object to a file named BB.aspx page, the BB.aspx page must read the formvalues and send and convert it to an excel file and the excel file must be sent to the user for saving it locally.

    During all this time the AA.aspx page must not be submitted or reloaded or refreshed.

    Thanks for the reply

  2. #2
    Join Date
    Aug 2005

    Um, OK then...


    Without submitting, reloading or refreshing the page the only way to do this is use Internet Explorer's XMLHTTP component to send data from your form to the BB.aspx. Either that or create an ActiveX control that can be placed in the browser.

    Additionally, you might want to use Flash, as the versions now can do such things using flash remoting server, although integration with DataGrids is probably not achievable easily (if at all).

    In all honestly, I'd review the point in not sending the request back to the server as it's much more robust and browser compatibility doesn't come into the equation.

    Jonny Tooze

    [EDIT] If you use the above method, then in theory you could get the BB.aspx page to create the XLS file (lots of examples of this on Google), save it in a web accessible directory and send a reponse back to the browser to say it's completed processing (including the URL to the XLS file) then the browser could change its location to the URL of the XLS files.
    Last edited by toozious; 08-16-2005 at 11:05 AM.

Similar Threads

  1. XMLHTTP special characters
    By Murray Foxcroft Z.A. in forum XML
    Replies: 3
    Last Post: 06-12-2007, 06:45 PM
    By Peter in forum XML
    Replies: 1
    Last Post: 03-13-2001, 05:00 PM
  3. Replies: 0
    Last Post: 01-23-2001, 07:55 PM
  4. Replies: 0
    Last Post: 01-22-2001, 03:59 PM
  5. XMLHTTP problems
    By Bon in forum XML
    Replies: 1
    Last Post: 09-22-2000, 04:34 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
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

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

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.