Download File and Update Panel

Posted by Bugwee under ASP.NET on 8/18/2011 | Points: 10 | Views : 3724 | Status : [Member] | Replies : 1
Hi Experts,

I have a linkbutton inside the repeater control. if the linkbutton is clicked it will download a file if it is outside from the update panel. But if i put the repeater control inside the update panel, file download doesn't take effect. The problem is, how could i download a file through the linkbutton even if the controls are inside the update panel? any ideas will be greatly appreciated.

Thanks,




Responses

Posted by: Jpchoudhari on: 8/19/2011 [Member] Starter | Points: 25

Up
0
Down
Hi,
you can not download a file if link button is inside update panel because it needs full postback. Try setting conditional postback on update panel and add event triggers for link button.



Kind Regards,
Jay

Bugwee, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response