Oct 20, 2010, 7:08 AM
[CLOSED] Save File dialogbox coming when IsUPload="true"
Hi am getting error when i upload files using Fileupload control.
HttpPostedFileBase hpfbaseHeader = Request.Files["FUFile"] as HttpPostedFileBase;
Comes Null
<DirectEvents>
<Click
Url="/Data/Validate/"
Timeout="60000"
FormID="GeneralForm"
CleanRequest="true"
IsUpload="true"
Method="POST"
Failure="Ext.Msg.show({
title: 'Error',
msg: result.errorMessage,
buttons: Ext.Msg.OK,
icon: Ext.MessageBox.ERROR
});">
<EventMask MinDelay="250" />
<ExtraParams>
<ext:Parameter Name="City" Value="#{cbocity}.getValue()" Mode="Raw" />
<ext:Parameter Name="Country" Value="#{cboCountry}.getValue()" Mode="Raw" />
<ext:Parameter Name="valid" Value="#{GeneralForm}.isValid()" Mode="Raw" />
</ExtraParams>
</Click>
</DirectEvents>
if i change it to False it works but then i cant save files which are uploadedHttpPostedFileBase hpfbaseHeader = Request.Files["FUFile"] as HttpPostedFileBase;
Comes Null
Last edited by Daniil; Oct 27, 2010 at 8:00 PM.
Reason: [CLOSED]