title: How change width/Height of an asp control?
body: <pre><code>&lt;script language="javascript" type="text/javascript"&gt;
  function resize()
  { 
  //alert("ok");
         var e = document.GetElementById("ImageEdit");
        e.style.width = "500px";
  
  }
  &lt;/script&gt;
  
  
   &lt;asp:Image ID="ImageEdit" runat="server"  BorderWidth="4"  Width="120px" Height="120px"  name="Image1"  /&gt;&lt;/td&gt;&lt;/tr&gt;
  
   &lt;input id="Button1" type="button" value="button"  onclick="resize();" /&gt;
  </code></pre>
  
  <p>Why doesn't <code>ImageEdit</code> change width ?</p>