I have a page with the following code on it:
<script type="text/javascript" language="javascript">
    /// <reference name="MicrosoftAjax.js" />
    Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequestHandler);
    function EndRequestHandler(sender, args)
    {
        ToggleTimeDiv();
    }
</script>
When the page loads I get the following error:
I'm using Visual Studio 2008 Standard Edition. What is causing this error?
Is your <script> block ahead of your ScriptManager? 
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With