Basic Date Picker Forums

Welcome to Basic Date Picker Forums Sign in | Join | Help
in Search

SAMPLE: Disable all Sundays and Validate

Last post 07-13-2006, 3:06 PM by geoffrey.mcgill. 0 replies.
Sort Posts: Previous Next
  •  07-13-2006, 3:06 PM 637

    SAMPLE: Disable all Sundays and Validate

    We added another interesting sample which demonstrates how to disable all Sundays within the popup Calendar by using the OnClientDayRender client-side event and use the Microsoft CustomValidator Control to ensure a user did not type in a date that was a Sunday. See Sample.

    The SelectableWeekendDays property can be used if you want to disable both weekend days (Saturday & Sunday). Example:

    <BDP:BasicDatePicker ID="BasicDatePicker1" runat="server" SelectableWeekendDays="false" />


    Hope this helps.

    Thanks,
    Geoffrey McGill
    ----------------------------------------
    Coolite Inc.
    Email: support [at] coolite [dot] com
    Phone: +1(888)775-5888
View as RSS news feed in XML
 
Powered by Community Server, by Telligent Systems