MessageBox Yes/No Buttons!!
-
-
string _scriptCloseDialog = "<script>alert('Lead ID should be 9 digit long');</script>"; ClientScript.RegisterStartupScript(GetType(), "_load", _scriptCloseDialog); I want to add Yes No Buttons in this MessageBox...Please help.... Thanks... :confused:
use confirm dialog in place of alert...
The miracle is this--the more we share, the more we have.
-
use confirm dialog in place of alert...
The miracle is this--the more we share, the more we have.
-
string _scriptCloseDialog = "<script>confirm('Are you sure');</script>"; ClientScript.RegisterStartupScript(GetType(), "_load", _scriptCloseDialog); I want to compare this messagebox value...how to campare? :~
if (confirm("Are you sure you want to delete the custom search?")==true) return true; else return false;
The miracle is this--the more we share, the more we have.
-
if (confirm("Are you sure you want to delete the custom search?")==true) return true; else return false;
The miracle is this--the more we share, the more we have.
I am new for this JavaScript code... I am writing code in .CS file... There I want to compare MessageBox Value... string _scriptCloseDialog = "<script>confirm('Are you sure you want to delete?');</script>"; ClientScript.RegisterStartupScript(GetType(), "_load", _scriptCloseDialog); can i compare this line of code? ClientScript.RegisterStartupScript(GetType(), "_load", _scriptCloseDialog); Please advise.. :((