I currently have a webpage with the following code snippet:
<script type="text/javascript" language="javascript">
/// <reference name="MicrosoftAjax.js" />
Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequestHandler);
function EndRequestHandler(sender, args)
{
ToggleTimeDiv();
}
</script>
Upon loading the page, I encounter the following error message:
- Microsoft JScript runtime error: 'Sys' is undefined
I am working with Visual Studio 2008 Standard Edition. Can you help identify what is causing this issue?