Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

execute script when c# code gets executed

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);
Source by www.codegrepper.com #
 
PREVIOUS NEXT
Tagged: #execute #script #code #executed
ADD COMMENT
Topic
Name
4+9 =