SelectedIndexChanged not firing in ascx?
===

    
I use masterpage.In ascx page my selectedindexchange event not firing.

This is my code:


My ascx :

    <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="FilterList.ascx.cs"
    Inherits="F8.B2B.WEB.UserControls.Common.FilterList.FilterList" %>

    <asp:UpdatePanel UpdateMode="Always" runat="server">
        <ContentTemplate>
           <div id="filterList" runat="server">
               
           </div>
        </ContentTemplate>
    </asp:UpdatePanel>


My ascx.cs:

     protected void Page_Load(object sender, EventArgs e)
     {
       if (!IsPostBack)
       {
          createFilterLists();
       } 
     }

 
    private void createFilterLists()
    {
    	ListBox dpList = new ListBox()
    	{
    		ID = ControlID
    	};
    	dpList.Items.Clear();
    	if (lst_ListItem != null)
    	{
    
    		foreach (ListItem item_ in lst_ListItem)
    		{
    			dpList.Items.Add(item_);
    		}
    		dpList.Items[0].Selected = true;
    		dpList.AutoPostBack = true;
    		dpList.EnableViewState = true;
    		dpList.SelectedIndexChanged += new EventHandler(myListBox_SelectedIndexChanged);
    
    
    
    		filterList.Controls.Add(dpList);
    
    	}
    }

    protected void myListBox_SelectedIndexChanged(object sender, EventArgs e)
    {
        // might be entered on change
    }




