I am using WebDateChooser in my .net application…by default the Date Chooser shows Current date,so that we can choose any date 10 years before the Current year and 10 years after the Current year…but i dont want to show the future date in the WebDateChooser.
Is there any property to set the Maxdate as current date
<igsch:WebDateChooser ID="WebDateChooser1" runat="server">
</igsch:WebDateChooser><br />
Please help me if you have some idea
You can use the WebDateChooser.MaxDate Property.
In code (which I think suits your needs):
Or in the source (not dynamic so I just added for reference):
UPDATE: (In response to the first comment from @sona)
Here’s some code from my source file that accomplishes the setting of the MaxDate property dynamically.
I can’t attest to this being the best approach since my knowledge of asp.net is very limited. Although, it should work for you…