Tag Archives: RegisterStratupScript in ASP.NET

Displaying alert message from code-behind in ASP.NET

In this post I will explain how to display alert message in ASP.NET from code-behind. We will create a function in the code-behind file to display alert message dynamically. We will register Javascript dynamically at runtime using ScriptManager.RegisterStratupScript method and display a Javascript alert message from the code-behind. Create a new ASP.NET Application and add… Read More »