Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net (http://www.velocityreviews.com/forums/f29-asp-net.html)
-   -   Calendar Extender problem (http://www.velocityreviews.com/forums/t695134-calendar-extender-problem.html)

David C 08-17-2009 09:01 PM

Calendar Extender problem
 
I have an Ajax calendar extender control and I am trying to get it to
default to the date in a text box but it shows todays date when it displays
instead of the date in the TextBox. Below is my code for someone to help.
Thanks.

David

<asp:TextBox ID="txtPromisedDate" runat="server" Text='<%#
Bind("PromisedDate", "{0:d}") %>' Width="90" />
<cc1:CalendarExtender ID="CalendarExtender1" runat="server"
SelectedDate='<%# Eval("PromisedDate") %>'
TargetControlID="txtPromisedDate">
</cc1:CalendarExtender>




All times are GMT. The time now is 02:58 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.