Knowledge Walls
Gopal Rao
Mumbai, Maharashtra, India
Passcode:
Alert box in asp.net using c# in Simple solutions of Asp.net/Ado.net/C#.net(Dotnet)
5459 Views
Introduction 
Page.ClientScript.RegisterStartupScript is used to write java script in C#.

Reference Namespace dll is System.Web
Syntax
Page.ClientScript.RegisterStartupScript(this.GetType(), "ScriptName", "alert('Message');", true);
Example
Page.ClientScript.RegisterStartupScript(this.GetType(), "PopupScript", "alert('Hello World');", true);
Look of alert box in Chrome 
Best Lessons of "Asp.net/Ado.net/C#.net(Dotnet)"
Top lessons which are viewed more times.
  Copyright © 2014 Knowledge walls, All rights reserved
KnowledgeWalls
keep your tutorials and learnings with KnowledgeWalls. Don't lose your learnings hereafter. Save and revise it whenever required.
Click here for more details