As easy as it may be, the extensive use of the alert() status message though out a website calls.
Such a thing doesn’t exist so we have to create it our selves. so this is Basic Idea to display Alerts in Asp.net Applications Code-behind.
In form :
Take one Button ,
<asp:Button ID="btnClick" runat="server" Text="Alert" onclick="Button1_Click" />
In code Behind:
protected void Button1_Click(object sender, EventArgs e)
MSDN Click here to see Actual content