Dropdown1.SelectedValue on page load
<p>I have a TextBox and a DropDownList (dropdown1) with an SqlDataSource.</p>

<p>On <code>Page_Load</code>, I want to do the following:</p>

<pre><code>textbox1.Text = dropdown1.SelectedValue;
</code></pre>

<p>But the TextBox is always empty, and the DropDownList is binded.</p>

<p>Markup:</p>

<pre><code>&lt;asp:DropDownList ID="DD_ModRègs0" runat="server" ClientIDMode="Static" onchange="ViderMntRec(0)" DataSourceID="ModeRegDataSrc" DataTextField="Nom" DataValueField="Code" AutoPostBack="True" &gt; 
&lt;/asp:DropDownList&gt;
</code></pre>

<p>C# code:</p>

<pre><code>if (!IsPostBack) 
{ 
    TB_Decote0.Text = DD_ModRègs0.SelectedValue;
}
</code></pre>
