home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 40 / IOPROG_40.ISO / SOFT / NETFrameworkSDK.exe / comsdk.cab / samples.exe / ClsView / Preferences.aspx < prev    next >
Encoding:
Text File  |  2000-06-23  |  1.8 KB  |  62 lines

  1. <%
  2. /*=====================================================================
  3.   File:      Preferences.aspx
  4.  
  5.   Summary:   Brief summary of the file contents and purpose.
  6.  
  7. ---------------------------------------------------------------------
  8.   This file is part of the Microsoft NGWS SDK Code Samples.
  9.  
  10.   Copyright (C) 2000-2000 Microsoft Corporation.  All rights reserved.
  11.  
  12. This source code is intended only as a supplement to Microsoft
  13. Development Tools and/or on-line documentation.  See these other
  14. materials for detailed information regarding Microsoft code samples.
  15.  
  16. THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
  17. KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
  18. IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  19. PARTICULAR PURPOSE.
  20. =====================================================================*/
  21.  
  22. %>
  23.  
  24. <%@ Page Language="C#" %>
  25. <%@ Import Namespace="System"    %>
  26. <%@ Import Namespace="System.Reflection" %>
  27. <%@ Import Namespace="System.Collections" %>
  28. <%@ Import Namespace="System.IO"     %>
  29. <%@ Import Namespace="LangUtil"     %>
  30.  
  31. <Script runat=server>
  32. //        Use Page_Load as the main for the Web request.            
  33.         
  34.         void Page_Load(Object sender, EventArgs EvArgs){
  35.             Response.Write("Here are your current viewing settings:");
  36.             Response.Write("<BR>Click <A HREF=\"\" onclick=\"TurnEmOn()\">here </A> to display privates.");
  37.         }
  38.  
  39.  
  40.  
  41. </Script>        
  42. <Script language="JavaScript1.1>
  43.  function TurnEmOn(){
  44.     parent.document.all.classID["InAccessible"].style.display = "block";
  45.  
  46.  }
  47. </Script>        
  48. <HTML>
  49. <Head>
  50. <!-- non breaking spaces shove the "Microsoft Internet Explorer" off the title bar. -->
  51. <title>Choose what elements to display.    </title>
  52.         <style type="text/css">
  53.          @import url(backSDK4.css);
  54.         </style>
  55.  
  56. </Head>
  57. <BODY>
  58.  
  59. <BODY>
  60.  
  61. </HTML>
  62.