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);
Also in C#:
- javascript append
- unity how to check object position
- unity create a child object
- how to find the area of a circle
- unity reset scene
- unity matchinfo
- how to pass object as test case in nunit c#
- page parent wpf
- POST http://localhost:5001/api/v1/identity/login 500 (Internal Server Error) LoginForm.jsx:39 Error: Request failed with status code 500 at createError (createError.js:16) at settle (settle.js:17) at XMLHttpRequest.handleLoad (xhr.js:61)
- c# odd even median
- how can convert string to int csharp
- percentage in c#
- solid principles c#
- comment envoyer un socket C#
- unity how to set an objects postion x,y,z
- leantween id
- unity coroutine
- if and c#
- why is c# say ; expected
- C# .net core convert to int round up
- animations for pause menu
- webutility.urlencode space
- how to use K2 games Games parallax background
- split string in c#