How to add calendar extender for textbox in mvc3http://forums.asp.net/t/1789026.aspx/1?How+to+add+calendar+extender+for+textbox+in+mvc3Fri, 06 Apr 2012 21:27:12 -040017890264915517http://forums.asp.net/p/1789026/4915517.aspx/1?How+to+add+calendar+extender+for+textbox+in+mvc3How to add calendar extender for textbox in mvc3 <p>How to add calendar extender for textbox in mvc3.</p> <p>Thanks.</p> 2012-04-04T10:00:58-04:004915523http://forums.asp.net/p/1789026/4915523.aspx/1?Re+How+to+add+calendar+extender+for+textbox+in+mvc3Re: How to add calendar extender for textbox in mvc3 <p>Use jqueryui to make a date picker</p> <p>&nbsp;</p> <p><strong><a href="http://jqueryui.com/demos/datepicker/">http://jqueryui.com/demos/datepicker/</a></strong></p> 2012-04-04T10:03:24-04:004915540http://forums.asp.net/p/1789026/4915540.aspx/1?Re+How+to+add+calendar+extender+for+textbox+in+mvc3Re: How to add calendar extender for textbox in mvc3 <p>http://msprogrammer.serviciipeweb.ro/2010/05/30/mvc-helper-templates</p> 2012-04-04T10:14:18-04:004915547http://forums.asp.net/p/1789026/4915547.aspx/1?Re+How+to+add+calendar+extender+for+textbox+in+mvc3Re: How to add calendar extender for textbox in mvc3 <p>Hi Ken Tucker,</p> <p>I got below error:</p> <p>Microsoft JScript runtime error: Object expected</p> 2012-04-04T10:19:18-04:004916201http://forums.asp.net/p/1789026/4916201.aspx/1?Re+How+to+add+calendar+extender+for+textbox+in+mvc3Re: How to add calendar extender for textbox in mvc3 <p></p> <blockquote><span class="icon-blockquote"></span> <h4>sampath1750</h4> <p></p> <p>Hi Ken Tucker,</p> <p>I got below error:</p> <p>Microsoft JScript runtime error: Object expected</p> <p></p> </blockquote> <p></p> <p>Make sure you also have a reference to jthe query javascript (.js) file, and that the jquery reference is BEFORE the jquery ui script tag.</p> 2012-04-04T15:07:47-04:004920205http://forums.asp.net/p/1789026/4920205.aspx/1?Re+How+to+add+calendar+extender+for+textbox+in+mvc3Re: How to add calendar extender for textbox in mvc3 <p>Add a reference to jquery.js and the jquery css file in your view/_layout and for the textbox:</p> <pre class="prettyprint">@Html.TextBox(x =&gt; x.Something, new { @class = &quot;date&quot; })</pre> <p><br />EDIT: Forgot about the little snippet of JS needed to make this work</p> <pre class="prettyprint"> &lt;script&gt; &#36;(document).ready(function () { &#36;('.date').datepicker({ dateFormat: "mm/dd/yy" }); }); &lt;/script&gt;</pre> <p><br> <br> </p> 2012-04-06T21:27:12-04:00