after save button click i want conformation message u r select critical options do yu want share this options like that i want show message ok button click then only need to save u use save button this script
and clint side i use this
and btnsave click i use this code but its shows message after saving its comes any body help for this
ScriptManager.RegisterStartupScript(this.Page, typeof(Page), Guid.NewGuid().ToString(), "Confirmation('"+ lblcritical .Text + "');", true);
// ClientScript.RegisterClientScriptBlock(this.GetType(), "JSScriptBlock", "Confirmation('" + script + "');", true);
// ScriptManager.RegisterStartupScript(this, this.GetType(), "ajax", "", false);
// ScriptManager.RegisterStartupScript(this.Page, typeof(Page), Guid.NewGuid().ToString(), "Confirmation('" + script + "');", true);

Sachin SinghRank #66 · 26.2K reputationPosted Jul 19, 2021, 7:04 AM EDT
Madhanmohan DevarajanRank #342 · 7.3K reputationPosted Jul 21, 2021, 9:24 AM EDT
Hi Thulasiram,
Here is the modified javascript code for getting confirmation from the user and proceed based on the OK or Cancel button click.
If you find my solution helpful for resolving the issue, then please consider Accept it as the solution to help the other members find it more quickly.
Thulasiram pakalaRank #1,835 · 808 reputationPosted Jul 19, 2021, 7:26 AM EDT
Sachin SinghRank #66 · 26.2K reputationPosted Jul 19, 2021, 7:46 AM EDT