How to Open a ASP.NET AJAX ModalPopUpExtender at PageLoad

A simple way of opening an ASP.NET AJAX ModalPopUpExtender on PageLoad is shown below. Add the following script to the <head> section of your page


<head runat="server">


    <title></title>


    <script type="text/javascript">


        function pageLoad() {


            var pop = $("modalPopUpExtender1");


            pop.show();


        }


    </script>


</head>


No comments:

Post a Comment