Problem in displaying alert box in asp.net

Total Post:15

Points:105

 2147  View(s)
Ratings:
Rate this:
how we show the alert box in code behind of asp.net

  1. Re: Problem in displaying alert box in asp.net

    we display the alert box in asp.net by using Registerscript function.
    Example:
    Syntax:
    Void ClientScriptManager.RegisterStartupScript(Type type,string key, string script)

    Example:
    Page.ClientScript.RegisterStartupScript(GetType(), @"startup", @"<script>alert('" + Hello + "');</script>");
           

      Modified On Mar-29-2018 02:46:03 AM

Answer

Please check, If you want to make this post sponsored

You are not a Sponsored Member. Click Here to Subscribe the Membership.