1 <%@ Register TagPrefix="cc1" Namespace="GHTWebControls" Assembly="MainsoftWebApp" %>
2 <%@ Page Language="c#" AutoEventWireup="false" Codebehind="Page_ctor_.aspx.cs" Inherits="GHTTests.System_Web_dll.System_Web_UI.Page_ctor_" %>
3 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
6 <title>Page_ctor_</title>
7 <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
8 <meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
9 <meta content="JavaScript" name="vs_defaultClientScript">
10 <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
11 <script LANGUAGE="JavaScript">
15 if (window.navigator.appName.toLowerCase().indexOf("netscape") > -1) {
16 theform = document.forms["Form1"];
19 theform = document.Form1;
24 <body MS_POSITIONING="GridLayout">
25 <form id="Form1" method="post" runat="server">
26 <cc1:GHTSubTest id="GHTSubTest1" style="Z-INDEX: 100; LEFT: 16px; POSITION: absolute; TOP: 15px"
27 runat="server" Width="553px" Height="296px">
28 aspx code is trying to access a protected variable from the code behind <BR>
29 <SCRIPT language="javascript">
30 var b = <%#bTestAccessScopeProtected.ToString()%>;
32 <asp:Label id="Label1" runat="server">#bTestAccessScopeProtected.ToString()</asp:Label>