How to make Date Editable while using Glass mapper
<p>Today i am facing one issue which has following requirement.</p>

<ol>
<li><p>Date should be Editable.</p></li>
<li><p>Date should be in particular format.</p></li>
</ol>

<p>My Code is like below which is not working.</p>



<pre class="lang-cs prettyprint-override"><code>foreach(var item in Model)
{
  &lt;div&gt;@Editable(item,  x =&gt; x.Start_Date.ToString("MMMM dd,yyyy"))&lt;/div&gt;
}
</code></pre>

<p>I have tried following approach but throwing "DateParameters" namespace error.</p>

<pre class="lang-cs prettyprint-override"><code>@Editable(item, x=&gt; x.Start_Date, new DateParameters { Format = "MMMM dd,yyyy"})
</code></pre>

<p>Also i have learner following thing but how can i achieve this ?</p>

<p>To make a field editable takes two parameters, this has been used to make the Date field editable. The first parameter instructs Glass.Mapper which field to make editable, the second parameter then specifies what the output should be when the page is not in page editing mode. This allows you to control the output of the field when in the two different modes.</p>

<p>Can anybody help me ?</p>