title: dropdownlist is always null in oneditcommand in datalist
body: <p>I'm new to asp.net trying to use datalist control.</p>
  
  <p>on edititemtemplate section i have put up a dropdownlist control. It has values in it. What I want is to select a value in edit mode but when I go to event (as set in oneditcommand )  my codes cannot find dropdownlist though its in edititemtemplate. Please check my codes below</p>
  
  <pre><code>DropDownList ddl = e.Item.FindControl("ddlType") as DropDownList; 
  ddl.Items.FindByValue((e.Item.FindControl("lblType") as Label).Text).Selected = true;
  </code></pre>
  
  <p>What I'm doing wrong?</p>
  
  <p>thanks</p>
  
  <p>-Navi</p>