Message box for asp.net c#
By karthick
, in
Message box for asp.net c#
,
1 Comment
Type cstype = this.GetType();
// Get a
ClientScriptManager reference from the Page class.
ClientScriptManager
cs = Page.ClientScript;
// Check
to see if the startup script is already registered.
if
(!cs.IsStartupScriptRegistered(cstype, "PopupScript"))
{
String
cstext = "alert('karthi');";
cs.RegisterStartupScript(cstype, "PopupScript",
cstext, true);
}
asd