[aus-dotnet] ASP.NET 1.1 Control playing up


    [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
    • From: stanski
    • Subject: [aus-dotnet] ASP.NET 1.1 Control playing up
    • Date: Wed, 13 Jun 2007 17:06:03 -0700

    Hello everyone,
    
    I have a drop down list defined in my ascx file like so:
    
    <asp:DropDownList id="State" AutoPostBack="True" runat="server"></asp:DropDownList>
    
    
    in the ascx.cs file, there is a variable declared:
    
    protected System.Web.UI.WebControls.DropDownList State;
    
    
    and in the InitializeComponent() method there is this line of code:
    
    this.State.SelectedIndexChanged += new System.EventHandler(this.State_SelectedIndexChanged);
    
    
    Now when I run this thing, State_SelectedIndexChanged isn't called in my application.  I have breakpoints else where that do their thing and get called, but for some reason this event just doesn't want to fire off.
    
    Has any one had similar issues?  Any work arounds?  Suggestions would be great
    
    Thank you in advance,
    
    Andy
    _________________
    You are a part of the Australian "dotnet" mailing list. To unsubscribe send "unsubscribe dotnet" or to re-subscribe send "subscribe dotnet" in the body of the email to: imailsrv@xxxxxxxxxxxx For assistance with this list please email info@xxxxxxxxxxxx
    List Managed by www.stanski.com and Proudly Sponsored by www.ico.com.au.
    
    
    
    



    (Click here for more information on the aus-dotnet mailling list)