Last post Oct 05, 2010 10:00 AM by hafiz awais
Mar 23, 2009 01:42 AM|sangeeta chhabra|LINK
I have a gridview having a link button for download a file.Whenever user click on the button,the corresponding file is downloaded.The problem is that my gridview is in the update panel and i am unable to perform the download operation.Even i tried to
add the trigger in the gridrow event for this link button.But still its not working.
Thanks in Advance
Mar 23, 2009 04:08 AM|mudassarkhan|LINK
For that link button
change the trigger from AsyncPostback Trigger to PostBack trigger
since File download requires a full postback
Mar 23, 2009 04:46 AM|sumitd|LINK
You are unable to download a file from UpdatePanel because there is not HTTP response in partial postback. You can get it done using IFrame which is provided in below link
Add post back trigger
<asp:UpdatePanel runat="server" ID="update" UpdateMode="Conditional">
<asp:AsyncPostBackTrigger ControlID="abc" EventName="click" />
<asp:PostBackTrigger ControlID="urControlID" />
Please mark it as answer if it resolves the issue.
Mar 23, 2009 04:47 AM|sumitd|LINK
<asp:PostBackTrigger ControlID="xyz" />
Mar 23, 2009 11:23 PM|chetan.sarode|LINK
FileUpload control are not compatible with Update Panel when they are used to upload files as part of an asynchronous postback.
Try to use <input type= "File" id="fileUpload" name="fileUpload" />
See here building AJAX enabled File Upload control
Apr 03, 2009 12:49 PM|selva38|LINK
Apr 03, 2009 12:54 PM|selva38|LINK
Apr 03, 2009 12:56 PM|selva38|LINK
Apr 03, 2009 01:23 PM|TATWORTH|LINK
To get your code to display properly, please:
Apr 28, 2010 02:14 PM|eddiejaques|LINK
Is it possible for someone to explain how does micrsoft does it w/o postback
see it for yourself.
Click on the download button
Ajax Control Toolkit .NET 3.5 - Binary"
Oct 05, 2010 10:00 AM|hafiz awais|LINK
Thnks buddy it worked for me