I am developing a custom Webpart for Sharepoint using C#.
On clicking a button, it downloads a file.
(To download this i am using "HttpContext.Current.Response.TransmitFile(myfile.FullName);")
Download works fine. But after download, controls or buttons in Webpart will NOT work.
I have to do a refresh manually to make it work again.
Any of you guys have working examples ?
Thanks a lot in advance.