Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1.1 KiB

  1. <!-- ############################################################################ -->
  2. <!-- ## UDDI Services ## -->
  3. <!-- ## Copyright (c) Microsoft Corporation. All rights reserved. ## -->
  4. <!-- ############################################################################ -->
  5. <%@ Control Language='C#' Inherits='UDDI.Web.ExplorerControl' %>
  6. <%@ Register TagPrefix='uddi' Namespace='UDDI.Web' Assembly='uddi.web' %>
  7. <input type='hidden' id='key' name='key' value='<%=key%>'>
  8. <script language='javascript'>
  9. function SelectNode( node )
  10. {
  11. var keyField = window.document.getElementById( "key" );
  12. if( null != keyField )
  13. keyField.value = node.key;
  14. if( null != selectedNode )
  15. selectedNode.className = "node";
  16. selectedNode = node;
  17. if( null != selectedNode )
  18. selectedNode.className = "selected";
  19. }
  20. function Entity_OnSelect( node, url )
  21. {
  22. var view = window.parent.frames[ 'view' ];
  23. SelectNode( node );
  24. if( null != view )
  25. view.location = url;
  26. }
  27. </script>
  28. <uddi:TreeView ID='tree' Runat='server' />