Click here to Skip to main content
15,443,631 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi
i am doing an silverlight web application so that i need to know that how to exit the silverlight application uisng C#.net programming

i had tried with these ,but no use

application.current.shutdown;
application.curent.exit;
....



so please help me to know that how to exit the silverlight application when the user clicks on exit button
Posted

1 solution

The solution to your problem is given at How to Close the Browser Window from a Silverlight Application[^].
I do believe this link will help you out.
 
Share this answer
 
Comments
RaisKazi 25-Oct-11 7:25am    
My 5!
Abhinav S 25-Oct-11 7:26am    
Thank you Rais.
[no name] 25-Oct-11 7:36am     CRLF
the Problem is total window is closing so that it was also closing the Other programes that are working in the other tabs, it will create the problem na . there is no other solution ?
Mark Salsbery 25-Oct-11 11:00am    
No. The user closes browser windows/tabs. You could control the plugin object's lifetime from your html if you want to.

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