Yes/No Dialog Box for saving data in Silverlight...Urgent!!!
-
Hi All, I want to show one dialog box when user closes the browser. I have added the code in Application_Exit :
HtmlPage.Window.Confirm("Do u want to save your data?");
So that It shows me the OK/Cancel box, which is fine for me. But I want the event for YES so that if user says YES then I could save the data and if he says NO then I do not save the data. Can anybody have any idea????
-
Hi All, I want to show one dialog box when user closes the browser. I have added the code in Application_Exit :
HtmlPage.Window.Confirm("Do u want to save your data?");
So that It shows me the OK/Cancel box, which is fine for me. But I want the event for YES so that if user says YES then I could save the data and if he says NO then I do not save the data. Can anybody have any idea????
-
Hi All, I want to show one dialog box when user closes the browser. I have added the code in Application_Exit :
HtmlPage.Window.Confirm("Do u want to save your data?");
So that It shows me the OK/Cancel box, which is fine for me. But I want the event for YES so that if user says YES then I could save the data and if he says NO then I do not save the data. Can anybody have any idea????
I'm pleased that you got the solution to your problem, but could you please refrain from using Urgent in posts. These are volunteer only forums, and people will get to your problem when they have time.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith
As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
-
I'm pleased that you got the solution to your problem, but could you please refrain from using Urgent in posts. These are volunteer only forums, and people will get to your problem when they have time.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith
As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
I'll provide a paid support contract :)
Mark Salsbery Microsoft MVP - Visual C++ :java: