Calendar control without postback

Last post 11-09-2006 2:19 PM by BasicDatePicker. 2 replies.

Sort Posts:

  • Calendar control without postback

    11-08-2006, 3:33 PM
    I am using a calendar control to select date in my form, once I select a date, the selected date string will be in the textbox, however, everytime when I made a selection, there is a postback to the server. How can I do the select date without postback to the server?
  • Re: Calendar control without postback

    11-08-2006, 4:54 PM
    Answer
    • Loading...
    • PLBlum
    • Joined on 06-28-2002, 1:20 PM
    • Boston, MA
    • Posts 5,155
    • TrustedFriends-MVPs

    The Calendar control included with ASP.NET uses postbacks only. If you added Microsoft ASP.NET AJAX to the page and put the calendar into an UpdatePanel, it can reduce the appearance of postbacks by using callbacks. But it still makes a trip to the server for each click on a date or month.

    Many people have created replacements to the Calendar control that uses javascript to do the work. I am the author of one, in "Peter's Date Package". You can locate others in these sites: the Control Gallery (here under Resources), www.123aspx.com, and www.411asp.net.

    --- Peter Blum
    Creator of Peter's Data Entry Suite (formerly Professional Validation And More and Peter's Date Package) and Peter's Polling Package
    www.PeterBlum.com
  • Re: Calendar control without postback

    11-09-2006, 2:19 PM
    • Loading...
    • BasicDatePicker
    • Joined on 10-22-2004, 9:32 AM
    • Edmonton, Alberta, Canada
    • Posts 406

    Hi publilcmoney,

    We have a couple client-side JavaScript date pickers that your might be interested in. BDPLite (Free) and BasicDatePicker.

    The date pickers will not post back to the server when you scroll through the months. 

    There is a free trial for download at http://www.basicdatepicker.com/download/ 

    Hope this helps

    Thanks,
    Geoffrey McGill - Product Manager
    Basic Date Picker - A Quicker Picker(TM) - ASP.NET Calendar, Date and Time Web Controls
Page 1 of 1 (3 items)
Microsoft Communities
Page view counter