Updatepanel with fileupload control
If we use fileupload control to submit any file on our aspx page which having UpdatePanel control on it
then if we click on submit button it will give you error & hasfile false & get null exception.
To resolve this problem just add below code on aspx page:
<Triggers>
<asp:PostBackTrigger ControlID="btnSubmit" />
</Triggers>
</Triggers>
Hope this will help you...
Regards,
Gajanan
Comments
Post a Comment