title: Passing parameters to ASCX user control in MVC
body: <p>I am trying to pass a string parameter to an ASCX. I want to set this to the text property of a label. In the code below it shows betwen the div tags (ignore the % signs in the html tags).</p>
  
  <pre><code>&lt;@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl&lt;string&gt;" &gt;  
  &lt;%asp:Label ID="Label2" runat="server" **Text="&lt;%# Model %&gt; Test"** CssClass="isslabel"&gt;&lt;%/asp:Label&gt;  
  &lt;%div&gt;&lt;%: Model %&gt;&lt;%/div&gt;   
  </code></pre>
  
  <p>However in the label tag no matter what I put between the angle brackets (bit it bold) in the text tag I cannot get the parameter to appear. I have tried &lt;%: Model %> to no avail. Is the issue that the code block is inside quotes and am I just missing some character?</p>