on-internet
← Community

How to disable future date in ajax calendarextender

Stack Overflow ·

I have an user control in AJAX for the date calendar and I want to disable the future dates in the Calendar. I have tried to do it by using the Maximum Value property but that doesn't disables the control. Any suggestions or help? <%@ Control Language="C#" AutoEventWireup="true" CodeFile="usrCtrlDatePicker.ascx.cs" Inherits="UserControls_usrCtrlDatePicker" %> <table cellspacing="0" cellpadding="0" border="0" style="height:18px;"> <tr> <td style="text-align:center; vertical-align:middle; height:16px"> <asp:TextBox ID="txtDateEntry" runat="server" Width="75px" MaxLength="1" style="text-align:jus

Comments

Sign in or sign up to comment and upvote.

No comments yet.