You may try this :
Page.ClientScript.RegisterStartupScript(this.GetType(),"CallMyFunction","MyFunction()",true);
More Related Contents:
- How to get Windows Explorer type look and feel inside my Application? [closed]
- How to use __doPostBack()
- Difference between RegisterStartupScript and RegisterClientScriptBlock?
- Plus sign in query string
- How to call code behind server method from a client side JavaScript function?
- Pass C# ASP.NET array to Javascript array
- how to call an ASP.NET c# method using javascript
- asp.net: Invalid postback or callback argument
- Printing to a client printer from a web app
- How to return JSON with ASP.NET & jQuery
- Is there a standard way to encode a .NET string into JavaScript string for use in MS Ajax?
- Javascript serialization of DateTime in asp.net is not giving a javascript date object?
- ASP.NET jQuery Ajax Calling Code-Behind Method
- Opening a URL in a new tab
- Asp .NET Button – OnClientClick=”return function()” vs OnClientClick=”function()”
- Detect Browser Close on Asp.net
- Document.Ready() is not working after PostBack
- ASP.Net double-click problem
- Error handling when downloading file from ASP.NET Web Handler (.ashx)
- JavaScript: Alert.Show(message) From ASP.NET Code-behind
- Why is HttpContext.Current null after await?
- How to work with time zones in ASP.NET?
- jQuery Ajax calls to web service seem to be synchronous
- How DataReader works?
- How to get the output of a System.Diagnostics.Process?
- no overload for method “ToString” takes 1 arguments
- AutoMapper Migrating from static API
- Download file with ClosedXML
- Datetime format Issue: String was not recognized as a valid DateTime
- Limit only one session per user in ASP.NET