Message box for asp.net c#




Alert for asp.net c#

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);

            }

1 Response to "Message box for asp.net c#"

  1. Anonymous says:

    asd

Post a Comment



Your IP Address is:

Browser: