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);
Madhanmohan DevarajanPosted Jul 21, 2021, 1:24 PM
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.
Sachin SinghPosted Jul 19, 2021, 11:46 AM
Thulasiram pakalaPosted Jul 19, 2021, 11:26 AM
Sachin SinghPosted Jul 19, 2021, 11:04 AM