<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    PPS As I went through commenting-out calls to page controls I found
    that I can't evenset-up the DropDownList I have on the page, let
    alone the Dundas ones.<br>
    <br>
    One thing I noticed is that the page declaration:<br>
    <br>
    &lt;%@ Page Language="IronPython" Theme="MSH"
    EnableSessionState="true" CodeFile="Default.aspx.py" %&gt;<br>
    <br>
    has a warning associated with the CodeFile:<br>
    <br>
    The language of the file referenced by the 'CodeFile' attribute does
    not match the language specified by the 'Language' attribute in the
    current file.<br>
    <br>
    On 10/20/2010 11:47 AM, Kurt A. Richardson wrote:
    <blockquote cite="mid:4CBF3934.5020501@kurtrichardson.com"
      type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      PS I'm using IPY 2.7 Alpha 1 with VS2010 .NET 4.0<br>
      <br>
      On 10/20/2010 11:45 AM, Kurt A. Richardson wrote:
      <blockquote cite="mid:4CBF38C0.6000001@kurtrichardson.com"
        type="cite">
        <meta http-equiv="content-type" content="text/html;
          charset=ISO-8859-1">
        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.&nbsp;
        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>
        &lt;DGWC:GaugeContainer ID="GaugeContainer1"
        runat="server"&gt;...&lt;/DGWC:GaugeContainer&gt;<br>
        <br>
        The Dundas Gauge assembly is referenced correctly:<br>
        <br>
        &lt;%@ Register Assembly="DundasWebGauge"
        Namespace="Dundas.Gauges.WebControl" TagPrefix="DGWC" %&gt;<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>
        &nbsp;&nbsp;&nbsp; if not IsPostBack:<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; gauge = GaugeContainer1<br>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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>
      </blockquote>
      <br>
    </blockquote>
    <br>
  </body>
</html>