Click here to Skip to main content
15,946,158 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi I implement a web application in Silverlight 5,I have a button including following code for save a file in client side, it works fine in all browsers in local machine, but when I locate that in a host and refer to website for visit it, application works,but save file dialog does not be show, how can I solve that?

SaveFileDialog objSFD = new SaveFileDialog() { DefaultExt = "xml", Filter = "Excel XML (*.xml)|*.xml", FilterIndex = 1 };
       if (objSFD.ShowDialog() == true)
Updated 30-Jan-14 0:33am
Richard MacCutchan 30-Jan-14 6:56am    
This is code behind which runs in the server context.
Angela 10293848 30-Jan-14 6:58am    
what do you mean?
Richard MacCutchan 30-Jan-14 7:19am    
I mean this code runs on the server, not in the browser.
Angela 10293848 30-Jan-14 7:22am    
no I donot think as you say! that works in browser in local machine but when I put it on server it dose not work
Angela 10293848 30-Jan-14 7:28am    
so how can I perform that? I need to save a file in client side.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900