narasiman rao

narasiman rao

  • NA
  • 519
  • 476.6k

How to disable current date

Dec 26 2012 3:39 AM
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="CalendarUC.ascx.cs" Inherits="CalendarUC" %>

<%@ Register Namespace="AjaxControlToolkit" Assembly="AjaxControlToolkit" tagPrefix="cc1" %>
<asp:TextBox ID="txtDate" runat="server" Width="95px"/>
<asp:ImageButton ID="imgbtnCalendar" runat="server"
  ImageUrl="~/Images/Calendar.png" BorderStyle="Solid" BorderWidth="1px"
  Height="20px" ImageAlign="Top" Width="25px" />
<cc1:CalendarExtender ID="CalendarExtender2" TargetControlID="txtDate"
PopupButtonID="imgbtnCalendar" Format="dd-MMM-yyyy" runat="server" />

from my above code
i want to add code to disable current date.for that how to write the code from my above code please help m

Answers (1)