Answers for "How to execute a script after the c# function executed"

C#
0

How to execute a script after the c# function executed

BY LOVE,  At the place of swal , you can use alert() function also.

int NumberOfRows = oRSEntities.Menu_Item.Count();
string message = $" {NumberOfRows} Records saved successfully.";
string script = "window.onload = function(){ swal('";
script += message;
script += "')};";
ClientScript.RegisterStartupScript(this.GetType(), "SuccessMessage", script, true);
Posted by: Guest on May-09-2020

Code answers related to "How to execute a script after the c# function executed"

C# Answers by Framework

Browse Popular Code Answers by Language