[Mono-aspnet-list] asp:UpdateProgress control broken?

n5jrn at mac.com n5jrn at mac.com
Sun Jun 20 03:02:04 EDT 2010


I'm trying to get the asp:UpdateProgress control to work without success. I can't even get the simple example at http://msdn.microsoft.com/en-us/library/bb386421.aspx to work:

<%@ Page Language="C#" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<script runat="server">
    protected void Button1_Click(object sender, EventArgs e)
    {
        // Introducing delay for demonstration.
        System.Threading.Thread.Sleep(3000);
        Label1.Text = "Page refreshed at " +
            DateTime.Now.ToString();       
    }
</script>

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>UpdateProgress Tutorial</title>
    <style type="text/css">
    #UpdatePanel1 { 
      width:300px; height:100px;
     }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:Label id="Gunk" runat="server">Test 1</asp:Label>
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                <fieldset>
                <legend>UpdatePanel</legend>
                <asp:Label ID="Label1" runat="server" Text="Initial page rendered."></asp:Label><br />
                <asp:Button ID="Button1" runat="server" Text="Button" OnClick="Button1_Click" />
                </fieldset>
            </ContentTemplate>
        </asp:UpdatePanel>
        <asp:UpdateProgress ID="UpdateProgress1" AssociatedUpdatePanelID="UpdatePanel1" runat="server">
            <ProgressTemplate>
                Processing...
            </ProgressTemplate>
        </asp:UpdateProgress>

    </div>
    </form>
</body>
</html>

When I look at the source code window in my browser, I notice that the asp:ScriptManager, asp:UpdatePanel, and asp:UpdateProgress tags are all still in the HTML that was sent to the browser, so it appears that xsp isn't even recognizing and processing those tags.

I'm running Mono 2.6.4 and xsp 2.6.4.0 (both from the most recent OSX disk image on go-mono.com) on OSX 10.6.4.

Anyone have any ideas?

Thanks,
--
David Barts
"People who should be shot: Fascist thugs, religious fundamentalists, people who write lists telling you who should be shot." -- Banksy



More information about the Mono-aspnet-list mailing list