<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#ffffff">
Hi List<br>
<br>
I have a (relatively) simple webpage that enables me to display some
basic data from my TED5000 energy monitor, as well as switch a fan
on and off in my offer utilizing an XBee network. I'm sure
everything worked just fine for months and now suddenly the project
will not compile.<br>
<br>
The Default.aspx webpage includes a Dundas GaugeContainer component
instantiated as:<br>
<br>
<DGWC:GaugeContainer ID="GaugeContainer1"
runat="server">...</DGWC:GaugeContainer><br>
<br>
The Dundas Gauge assembly is referenced correctly:<br>
<br>
<%@ Register Assembly="DundasWebGauge"
Namespace="Dundas.Gauges.WebControl" TagPrefix="DGWC" %><br>
<br>
The CodeFile (Default.aspx.py) contains some simple functions, but
the one that throws an error is part of the Page_Load function:<br>
<br>
def Page_Load(sender,e):<br>
if not IsPostBack:<br>
gauge = GaugeContainer1<br>
gauge.Callback += GaugeContainer1_Callback<br>
<br>
The third line (gauge = GaugeContainer1) results in the following
parse error:<br>
<br>
<b>Parser Error Message: </b>cannot access protected member
GaugeContainer1 without a python subclass of default_aspx<br>
<br>
Any ideas what is causing this error?<br>
<br>
Many thanks in advance for any assistance you can offer.<br>
<br>
Kind regards, Kurt<br>
<br>
<br>
<br>
</body>
</html>