dropdown list in user control and auto postback after new item selected
<p>I have a dropdown list in User Control</p>

<p>How Can I get selected value of dropdown list of user control in page when user select another item (auto postback is true)?</p>

<p>I tried to store selected value of ddl in a public member from Selected Index Changed event handler. But this handler executes after page load of container page. I need to load data in page based on selected value in ddl of user control. </p>

<p>Thanks</p>

<p>User Control's code</p>

<pre><code>protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e)

{

        _SelectedPageSize = Convert.ToInt32(ddlPageSize.SelectedValue);

}



int GetSelectedPageSize()

{

       return _SelectedPageSize;
}
</code></pre>
