UpdatePanel question

Last post 07-06-2013, 9:34 PM by chriswarr2. 2 replies.
Sort Posts: Previous Next
  •  07-04-2013, 11:47 PM 77653

    UpdatePanel question

    Hi, I am playing around with the demo.  Why does the control need to be in an UpdatePanel?  I would have thought that if my browser supports html5 (latest chrome) then the control will send the file back to the server via ajax?  But if I remove the UpdatePanel I can see that there is a postback happening?  Can you explain this behaviour?

     

    Regards,

    Chris.

     

  •  07-05-2013, 12:17 PM 77659 in reply to 77653

    Re: UpdatePanel question

    Hi chriswarr2,

     

    The ajax function is based on the ajax control, like the UpdatePanel. So it is necessary.

     

    Regards,

     

    Ken 

  •  07-06-2013, 9:34 PM 77661 in reply to 77659

    Re: UpdatePanel question

    Hi, I'm not really sure what you're saying, I thought that the html5 FormData object could be used to provide a file upload without a postback, ie. using true ajax?  Is there a reason you don't use the FormData object?

    https://developer.mozilla.org/en-US/docs/Web/API/FormData 

     

    Regards,

    Chris.

     

View as RSS news feed in XML