<%@ Page Language="C#" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
  <title>ASP.NET AJAX</title>

  <script language="Javascript" type="text/javascript">
  function pageLoad() {
    Type.registerNamespace("ORA.MyEnums");
    ORA.MyEnums.Ajax = function() {};
    ORA.MyEnums.Ajax.prototype = {
      "Asynchroniczny": 0,
      "JavaScript": 1,
      "i": 2,
      "XML": 3
    };
    ORA.MyEnums.Ajax.registerEnum("ORA.MyEnums.Ajax");
    
    document.getElementById("output").innerHTML += 
      ORA.MyEnums.Ajax.Asynchroniczny + " " + 
      ORA.MyEnums.Ajax.JavaScript + " " + 
      ORA.MyEnums.Ajax.i + " " + 
      ORA.MyEnums.Ajax.XML;
  }
  </script>

</head>
<body>
  <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <div id="output"></div>
  </form>
</body>
</html>
