Initialize User Control property value with inline tag
<p>I've just written a ASP .NET wrapper for jQuery UI control as user control. It can be used like this:</p>

<pre><code>&lt;ui:DatePicker ID="startDate" runat="server" LabelText="Start Date:" /&gt;
</code></pre>

<p>Currently I set initial value of this control in Page_Load handler, just like this:</p>

<pre><code>    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            startDate.Value = DateTime.Now.AddMonths(-2);
        }
    }
</code></pre>

<p>But I thought that it would be nice to move initialization code to markup. Yet I can't work out is how to set initial value of this control using inline tag, for instance:</p>

<pre><code>&lt;ui:DatePicker ID="startDate" Value='&lt;%= DateTime.Now.AddMonths(-2) %&gt;' runat="server" LabelText="Start Date:" /&gt; 
</code></pre>

<p>I have a property:</p>

<pre><code>    public DateTime? Value 
    {
        get
        {
            DateTime result;
            if (DateTime.TryParse(dateBox.Text, out result))
            {
                return result;
            }
            return null;
        }
        set
        {
            dateBox.Text = value != null ? value.Value.ToShortDateString() : "";
        }
    }
</code></pre>

<p>I've tried different inline tags combinations, and I always get a compilation error. Is there a way to achieve it with inline tags?</p>
