Calendar Extender problem

Discussion in 'ASP .Net' started by David C, Aug 17, 2009.

  1. David C

    David C Guest

    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>
     
    David C, Aug 17, 2009
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. BillE
    Replies:
    4
    Views:
    6,830
    Thomas Hansen
    Apr 18, 2007
  2. Wannabe

    Formatting Calendar Extender

    Wannabe, Feb 11, 2008, in forum: ASP .Net
    Replies:
    2
    Views:
    5,167
    Wannabe
    Feb 12, 2008
  3. Abhilash

    AJAX Calendar extender issue

    Abhilash, Jun 12, 2008, in forum: ASP .Net
    Replies:
    2
    Views:
    5,247
    Abhilash
    Jun 14, 2008
  4. Steve Blain

    Calendar Extender Problem

    Steve Blain, Jun 24, 2008, in forum: ASP .Net
    Replies:
    2
    Views:
    568
    Steve Blain
    Jun 25, 2008
  5. George

    Calendar extender

    George, Jul 1, 2008, in forum: ASP .Net
    Replies:
    1
    Views:
    463
    densial
    Jul 1, 2008
Loading...

Share This Page