Calendar Control - ASP.Net 2.0

Discussion in 'ASP .Net Web Controls' started by Paul, Sep 8, 2006.

  1. Paul

    Paul Guest

    I am using the standard Calendar control in ASP.Net 2.0 and VB.Net and VS2005.

    Here is the code:

    <asp:calendar id="cldr_contract_date" runat="server" backcolor="#ffffff"
    width="250px" height="200px" font-size="12px" font-names="Arial"
    borderwidth="2px" bordercolor="#000000" nextprevformat="shortmonth"
    daynameformat="firsttwoletters" OnSelectionChanged="cldr_SelectionChanged">
    <titlestyle font-size="14px" font-bold="true" borderwidth="2px"
    forecolor="#000055" />
    <dayheaderstyle font-size="12px" font-bold="true" />
    <todaydaystyle backcolor="#D3D3D3" forecolor="#ffffff" />
    <selecteddaystyle backcolor="#000000" forecolor="#ffffff" />
    <nextprevstyle font-size="12px" font-bold="true" forecolor="#333333" />
    <othermonthdaystyle forecolor="#cccccc" />
    </asp:calendar>

    My question revolves around the ability of the user to select a month or
    year that is a long length of time from the default date.

    For example, the default date that is displayed on the calendar is today.
    The user wants to select a day that is 3 years prior to today.

    Right now, it appears that the only way that the user can select that
    3-years-prior date is to continually click the previous month link until he
    gets to 3 years ago. That is 36 clicks and it is no surprise that the user is
    not happy having to do that.

    Is there a way to configure the Calendar control to where the user can
    select the year (and even month) without so many clicks?

    If the answer is no, could anyone recommend another flexible third-party
    calendar control that integrates well with VS2005 and VB.Net?

    TIA
     
    Paul, Sep 8, 2006
    #1
    1. Advertisements

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. Guest
    Replies:
    3
    Views:
    2,040
    Alexandre
    Dec 22, 2003
  2. =?Utf-8?B?UGV0ZXI=?=

    ASP.NET Calendar control's selected date

    =?Utf-8?B?UGV0ZXI=?=, Apr 23, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    6,141
    Philip Q [MVP]
    Apr 23, 2004
  3. Shevek
    Replies:
    3
    Views:
    6,464
    Shevek
    Jun 23, 2004
  4. Mau
    Replies:
    0
    Views:
    496
  5. Miguel Dias Moura

    Looking for ASP.NET Calendar control

    Miguel Dias Moura, Oct 21, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    433
    =?Utf-8?B?UGF1bA==?=
    Oct 21, 2004
  6. Anders K. Jacobsen [DK]

    Problem with asp.net calendar control

    Anders K. Jacobsen [DK], Mar 12, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    423
    Anders K. Jacobsen [DK]
    Mar 12, 2005
  7. Shevek
    Replies:
    0
    Views:
    562
    Shevek
    Jun 23, 2004
  8. Parthiv Joshi
    Replies:
    1
    Views:
    1,097
    Samuel L Matzen
    Jul 6, 2004
Loading...