Hi Gourav,

Please try the code below link
http://gratisaccount.wordpress.com/2008/10/22/disable-dates-in-calendarextender/

I personally tried and it works fine, it disables all the previous dates
earlier than today, but only striking out the dates is not present.You have
to work on the CSS to get the striking of dates
Steps:
1) Download AjaxControlToolKit source code
2) Copy the highlighted code in the above link to relavant files in
AjaxControlToolKit  (please remove the formatting while copying by pasting
it in a notepad and replacing special formatted characters)
3) Build the AjaxControlToolKit solution
4) Copy ajaxtoolkit dll in the bin folder of your sever where your webpage
is hosted
5) Add ScriptManager to the page
5) Add asp:textbox to the page
6) Add Calendar Extender to the page and set the TargetControlID as textbox
7) Build your solution

Please let me know if you have any problems.

Hope this helps

Regards,
Raghu

On Thu, Jul 29, 2010 at 10:02 PM, Gourav Vishnoi
<[email protected]>wrote:

> Hi Raghupathi .
>     thanks for your reply. but i have already use this code ..on my
> website.but it make very slow our website.pls check this...
> www.pumpkinsafari.com
> can you have any other solution.i'll wait for your reply.
>
>
>
> Thanks,
>
>
>
> --
> Warm Regards:-
>     Gourav Vishnoi
>    +91-9871157845 (M)
>
> “Smile: A curve that can set a lot of things straight."
>
>
>
>   On Thu, Jul 29, 2010 at 9:53 PM, Raghupathi Kamuni <
> [email protected]> wrote:
>
>> I have posted the code on pastebin
>> http://dotnetdevelopment.pastebin.com/AMradFQv
>>
>>
>>
>> On Thu, Jul 29, 2010 at 5:38 PM, Gourav <[email protected]> wrote:
>>
>>> Hi All,
>>>    I am asking same question fifth time but i didn't get solution of
>>> my query....pls anybody can help me..
>>>   Actually i wanna a calendar in which past date
>>> automatically disable.Currently i am using Calendar with J query but
>>> it not work with Ajax...If any one have some idea or code for this
>>> type of calendar then please share with me..
>>>
>>> i am also use Ajax calendar extender..its work good but in this past
>>> date not disable i put java script that user can't select lower
>>> date ....but i want to disable past date..and that should be able to
>>> work in update panel ..pls suggest me what can i do
>>> for this........I'll waiting for your reply.....
>>>
>>> i wanna like.....
>>> 1. http://air.irctc.co.in
>>> 2. http://www.ixigo.com/
>>> 3.www.Cleartrip.com <http://3.www.cleartrip.com/>
>>>  any of these one....
>>>
>>> Thanks,
>>>
>>> --
>>> Warm Regards:-
>>>  Gourav Vishnoi
>>>  +91-9871157845
>>> “Smile: A curve that can set a lot of things straight."
>>
>>
>>
>
>
> --
> Warm Regards:-
>     Gourav Vishnoi
>    +91-9871157845 (M)
>
> “Smile: A curve that can set a lot of things straight."
>
>

Reply via email to