Topic: Domapi in Visual Studio Build 4.5
arningad wrote on Monday 1/26/09 at 6:49 PM (PST)
<head runat="server">
    <title></title>
    <link href="Stylesheet1.css" rel="Stylesheet" type="text/css" />
    <script type="text/javascript" src="domapi_45_professional [1]/src/domapi.js"></script>
    <script type="text/javascript">
        if (domapi) {
            alert(domapi.version);
        }
    </script>
    <asp:ContentPlaceHolder ID="head" runat="server">
    </asp:ContentPlaceHolder>
</head>

Prior to adding the above Code, the WebPage that I am creating would run without error. After adding the above Code I received the following errors in Internet Explorer:
"Sys.Res.enumValueNotInteger" is null or not an object
"Sys.Res.argumentUndefined" is null or not an object
"Sys.UI.DomEvent" is null or not an object
"Sys.Application" is null or not an object
If I "Ignore" these errors, the WebPage goes ahead and runs fine. If I disable Script Debugging in "Options", then the Page runs fine.
Are these specific errors anything to worry about?
Is there a way to get rid of them?
Darin Kadrioski wrote on Wednesday 1/28/09 at 8:28 PM (PST)
I wouldn't worry about it if it's working fine. It might be the space or the brackets in your src attribute, but other than that I can't see anything that would cause these warnings.

Take a peek at the generated source within the debugger and try to locate the line that's causing the problem.
arningad wrote on Friday 2/6/09 at 11:59 PM (PST)
Thanks for your reply.

Visual Studio has a non-visual control called ScriptManager. By placing the path to the "domapi_45_professional[1]/src/domapi.js" within the ScriptManager, all of the errors are eliminated