Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 4356

Commented Issue: AsyncFileUpload issue with usage in an IFRAME [25583]

$
0
0
If you use an aspx page with the AsyncFileUpload control in the context of an IFRAME, I experienced the following issue:
Page1
------- IFRAME
-----------------Page2 with AsyncFileUpload (AFU) control

if you upload a file, the AFU control will set the form's target attribute to "_top",
now comes the fatal issue:
use another button control that will do a postback (no matter if update panel or not)
and what happens is that the postback response will load instead of Page1 and therefore jumps out of the IFRAME and "takes over" the place of Page1.

This is a not very nice behavior. I hope you can fix that.
Comments: Hey, check the target of the form inside the iframe, after the upload is complete the target is modified to "_top". <form name="aspnetForm" method="post" action="actualURLHERE" onsubmit="javascript:return WebForm_OnSubmit();" id="aspnetForm" enctype="multipart/form-data" target="_top"> to <form name="aspnetForm" method="post" action="actualURLHERE" onsubmit="javascript:return WebForm_OnSubmit();" id="aspnetForm" enctype="multipart/form-data"> gl

Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>