[Mono-list] ArrayList no longer working in Mono 1.1.9.1
Carl Olsen
carl at carl-olsen.com
Sat Sep 24 11:03:10 EDT 2005
I an ArrayList that is no longer binding to a drop down list web control on
my aspx page in Mono 1.1.9 and 1.1.9.1 (it was working in Mono 1.1.8, and it
works in Microsoft ASP.NET 1.1). The page now displays nothing in the drop
down list. The data is not binding to the drop down list on the page. Here
is the code from the code behind (aspx.cs) page:
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();
PanelRepresentative.Visible = false;
BindGrid("All");
}
}
When I run this in Microsoft ASP.NET 1.1, the drop down list is populated,
as it was when I ran this page using Mono 1.1.8. When I run it in Mono
1.1.9 or 1.1.9.1, nothing appears. Does anyone know how to fix this?
Carl Olsen
http://www.carl-olsen.com/
More information about the Mono-list
mailing list