Custom DropDownList Server Control Losing Items on Postback
<p>I have a custom server control inheriting from DropDownList. On postback, the items are lost. It looks something like this:</p>

<pre><code>public class MyClientSelectList : DropDownList
{       
    protected override void OnInit(EventArgs e)
    {
        base.OnInit(e);

        // design mode hack to let visual studio display in design mode
        if (!DesignMode)
        {
            if (!Page.IsPostBack)
            {
                this.Items.Add(new ListItem("Select an item..."));
                // add more items from db
            }
        }
    }
}
</code></pre>

<p>I checked EnablePostBack = true. I select a selected value in the page load of my page which is hosting this custom server control.</p>

<p>Why are the items lost on postback?</p>
