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 [EMAIL PROTECTED]

http://bugzilla.ximian.com/show_bug.cgi?id=76215

--- shadow/76215        2005-09-25 04:51:35.000000000 -0400
+++ shadow/76215.tmp.13897      2005-09-25 12:46:47.000000000 -0400
@@ -43,6 +43,92 @@
 on mono and on windows. I'm attaching the one i tried.
 
 ------- Additional Comments From [EMAIL PROTECTED]  2005-09-25 04:51 -------
 Created an attachment (id=15793)
 Test case that works just fine
 
+
+------- Additional Comments From [EMAIL PROTECTED]  2005-09-25 12:46 -------
+Here's my example, but it is located in a code-behind page and not 
+inline like your example (which means mine is pre-compiled, instead 
+of being compiled at run-time):
+
+using System;
+using System.Collections;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Web;
+using System.Web.SessionState;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using System.Web.UI.HtmlControls;
+using CarlsWebs.WebModules.Legislators.Business;
+
+namespace CarlsWebs.CarlOlsen.Web.Modules.Legislators
+{
+       /// <summary>
+       /// Summary description for Senators.
+       /// </summary>
+       public class Senators : CarlsWebs.CarlOlsen.Web.CarlOlsenPage
+       {
+               protected System.Web.UI.WebControls.DropDownList 
+DropDownParty;
+
+               private void Page_Load(object sender, 
+System.EventArgs e)
+               {
+                       if (!Page.IsPostBack)
+                       {
+                               ArrayList options = new ArrayList();
+                               options.Add("All");
+                               options.Add("Democrat");
+                               options.Add("Republican");
+                               DropDownParty.DataSource = options;
+                               DropDownParty.DataBind();
+                       }
+               }
+
+               override protected void OnInit(EventArgs e)
+               {
+                       InitializeComponent();
+                       base.OnInit(e);
+               }
+               
+               private void InitializeComponent()
+               {    
+                       this.DropDownParty.SelectedIndexChanged += 
+new System.EventHandler(this.DropDownParty_SelectedIndexChanged);
+                       this.Load += new System.EventHandler
+(this.Page_Load);
+               }
+       }
+}
+
+<%@ Page language="c#" AutoEventWireup="false" 
+Inherits="CarlsWebs.CarlOlsen.Web.Modules.Legislators.Senators" %>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 
+Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml lang="en" xml:lang="en">
+       <head>
+               <title>Iowa Senators</title>
+               <meta http-equiv="Content-Type" content="text/html; 
+charset=iso-8859-1" />
+               <meta http-equiv="Content-Language" content="en-us" />
+               <meta name="GENERATOR" content="Microsoft Visual 
+Studio .NET 7.1" />
+               <meta name="CODE_LANGUAGE" content="C#" />
+               <meta name="vs_defaultClientScript" 
+content="JavaScript" />
+               <meta name="vs_targetSchema" 
+content="http://schemas.microsoft.com/intellisense/ie5"; />
+               <link href="/Styles/carl.css" type="text/css" 
+rel="stylesheet" />
+       </head>
+       <body>
+               <form id="Form1" method="post" runat="server">
+                       <asp:dropdownlist id="DropDownParty" 
+runat="server" autopostback="true"></asp:dropdownlist>
+               </form>
+       </body>
+</html>
+
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to