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
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