As I was a Windows programmer it was so easy to show a message box on a form.
But on an ASP.NET page I don\'t know how can I show it?
Actually I have some co
i have a solution for you, may be it help you, for using that same message box or conformation dialog of c# in Asp.Net, first you should add namespace,
Using System.Windows.Forms;
then, where you want to call a message box or conformation dialog, you can just call it as simple as in c#, like:
DialogResult dialogResult = MessageBox.Show("Are you shure?", "Some Title", MessageBoxButtons.YesNo);
if (dialogResult == DialogResult.Yes) { Response.Redirect("Page.aspx"); } else if (dialogResult == DialogResult.No) { MessageBox.Show("You Select Nothing to do... :("); }
I think, I explained properly, sorry for any mistake....