I have a page with button for download a file, after I press that , I want a user control to be refreshed .that can be done with a function I wrote in UC.
So: How Can I Call a js Function in User_Control from Parent server-side(after user press Download_button to download a file)
I used this code, but it doesn't work?
Page.ClientScript.RegisterStartupScript(this.GetType(),"UpdateReportList", "UpdateReportList();", true);
Note: UpdateReportList() is js function in my user control .