Tags

,

According to Microsoft the FileUpload control is not compatible with an AJAX UpdatePanel. But you use a PostBackTrigger can be added to the submit button of the form like this:

In code:
PostBackTrigger trigger = new PostBackTrigger();
trigger.ControlID = SubmitButton.ID;
updatepanel.Triggers.Add(trigger);

Advertisements