Here is an easy way:
Response.Write("<script>alert('Hello');</script>");
More Related Contents:
- How to get Windows Explorer type look and feel inside my Application? [closed]
- How to use __doPostBack()
- Calling JavaScript Function From CodeBehind
- 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)
- Auto Hide/Show DIV in asp.net [closed]
- Bundler not including .min files
- Making a Simple Ajax call to controller in asp.net mvc
- Difference between MVC 5 Project and Web Api Project
- How to get rendered html (processed by Javascript) in WebBrowser control?
- How to convert Javascript datetime to C# datetime?
- Configure Unity DI for ASP.NET Identity
- Passing Credentials to Sql Report Server 2008
- How to determine total size of ASP.Net cache?
- Parsing HTML to get script variable value