title: ASP.NET Int32 Eval error
body: <p>I have this line:</p>
  
  <pre><code>&lt;asp:HyperLink ID="awsImage" runat="server" Target="_blank" 
  ImageUrl='&lt;%# Eval("ImageURL") %&gt;' Width='&lt;%# Eval("ImageWidth").ToString() %&gt;'
  Height='&lt;%# Eval("ImageHeight").ToString() %&gt;' &gt;&lt;/asp:HyperLink&gt;
  </code></pre>
  
  <p>And I get this error:</p>
  
  <p>Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. </p>
  
  <p>Compiler Error Message: CS0030: Cannot convert type 'string' to 'System.Web.UI.WebControls.Unit'</p>
  
  <p>I also have tried simple Eval without .ToString but I get this error: This is the exact error I get if I use the Eval without .ToString</p>
  
  <p>Exception Details: System.InvalidCastException: Specified cast is not valid.</p>