Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Calendar Extender problem

Reply
Thread Tools

Calendar Extender problem

 
 
David C
Guest
Posts: n/a
 
      08-17-2009
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>


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calendar extender George ASP .Net 1 07-01-2008 08:51 PM
Calendar Extender Problem Steve Blain ASP .Net 2 06-25-2008 04:40 PM
AJAX Calendar extender issue Abhilash ASP .Net 2 06-14-2008 01:13 AM
Formatting Calendar Extender Wannabe ASP .Net 2 02-12-2008 01:22 PM
Ajax calendar extender appears behind dropdown list BillE ASP .Net 4 04-18-2007 07:41 PM



Advertisments