[Mono-bugs] [Bug 48691][Nor] New - AdRotator (A bug fix is provided)
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Mon, 22 Sep 2003 05:35:35 -0400 (EDT)
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 yaronsh@mainsoft.com.
http://bugzilla.ximian.com/show_bug.cgi?id=48691
--- shadow/48691 2003-09-22 05:35:35.000000000 -0400
+++ shadow/48691.tmp.23707 2003-09-22 05:35:35.000000000 -0400
@@ -0,0 +1,55 @@
+Bug#: 48691
+Product: Mono/Class Libraries
+Version: unspecified
+OS: All
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: System.Web
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: yaronsh@mainsoft.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: AdRotator (A bug fix is provided)
+
+Please fill in this template when reporting a bug, unless you know what
+you are doing.
+Description of Problem:
+The event "AdCreated" is not published to the clients.
+
+Steps to reproduce the problem:
+1. Open the attached .aspx file.
+
+Actual Results:
+Nothing changes
+
+Expected Results:
+A response of "Ad was Created" has to be displayed on the screen.
+
+How often does this happen?
+Always
+
+Additional Information:
+Someone forgot to call "OnAdCreated" from "OnPreRender".
+A fix in diff format is attached.
+
+<HTML>
+ <HEAD>
+ <script runat="server" language="C#">
+ private void OnAdCreated(object sender, AdCreatedEventArgs e)
+ {
+ Response.Write( "Ad was created" );
+ }
+ </script>
+ </HEAD>
+ <body>
+ <form id="Form1" method="post" runat="server">
+ <asp:AdRotator id="AdRotator1" OnAdCreated="OnAdCreated"
+ runat="server" Width="160px" Height="60px"></asp:AdRotator>
+ </form>
+ </body>
+</HTML>