Calendar Extender problem

D

David C

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>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,566
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top