[Mono-bugs] [Bug 80852][Min] New - Multiview doesn't call OnActiveViewChanged
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Wed Feb 14 15:22:23 EST 2007
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by viashino at email.it.
http://bugzilla.ximian.com/show_bug.cgi?id=80852
--- shadow/80852 2007-02-14 15:22:23.000000000 -0500
+++ shadow/80852.tmp.15798 2007-02-14 15:22:23.000000000 -0500
@@ -0,0 +1,88 @@
+Bug#: 80852
+Product: Mono: Class Libraries
+Version: 1.2
+OS: other
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Minor
+Component: Sys.Web
+AssignedTo: gonzalo at ximian.com
+ReportedBy: viashino at email.it
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Multiview doesn't call OnActiveViewChanged
+
+Description of Problem:
+Multiview doesn't call OnActiveViewChange
+
+Steps to reproduce the problem:
+###Default.aspx.cs###
+using System;
+using System.Data;
+using System.Configuration;
+using System.Web;
+using System.Web.Security;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using System.Web.UI.WebControls.WebParts;
+using System.Web.UI.HtmlControls;
+
+public partial class _Default : System.Web.UI.Page
+{
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ if(MultiView1.ActiveViewIndex!=0)
+ MultiView1.ActiveViewIndex = 0;
+ }
+ protected void MultiView1_ActiveViewChanged(object sender, EventArgs e)
+ {
+ Label1.Text = "Changed";
+ }
+}
+###END###
+
+###Default.aspx###
+<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs"
+Inherits="_Default" %>
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://
+www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml" >
+<head runat="server">
+ <title>Untitled Page</title>
+</head>
+<body>
+ <form id="form1" runat="server">
+ <div>
+ <asp:MultiView ID="MultiView1" runat="server"
+OnActiveViewChanged="MultiView1_ActiveViewChanged">
+ <asp:View ID="View1" runat="server">
+ <asp:Label ID="Label1" runat="server" Text="Label"></
+asp:Label></asp:View>
+
+ </asp:MultiView></div>
+ </form>
+</body>
+</html>
+
+###END###
+
+Actual Results:
+Label
+
+Expected Results:
+Changed
+
+How often does this happen?
+always
+
+Additional Information:
+I tried also to programmatically register the event, but with the same
+result.
+
+I'm using mono 1.2.2
More information about the mono-bugs
mailing list