Is there a way to set a maximum of a CalendarExtender? Like it can't go farther than '2079-06-06' (This is the limit ouf SqlServer SMALLDATETIME). Or the only way to block the user from entering a date that is out of range is to verify manually?
The Format property of the CalendarExtender doesn't work when the EnableScriptGlobalization and EnableScriptLocalization properties of the ToolScriptManager are True. For some unexplicable reason the seperators are changed from "/" to "-"
I can get around this problem on the client by formatting the bound textbox in the OnClientDateSelectionChanged client event but have no way to set the CalendarExtender SelectedDate property on the server because the wrong date seperator is displayed.
What I'm finding is that if I externally change the date in the text box that the CalendarExtender is attached to (I'm also using an image button with a calendar image to invoke the calendar - like the last example on the
samples page), the date on the calendar does not stay in sync.
page loads. text and calendar are set to 1/14/2010. cool. on the click event of a button elsewhere on the page I set the date in the text box to 12/15/2009.
I would expect that clicking on the calendar button to display the calendar would show December 15, 2009 in the calendar, but instead it's still stuck on January 14, 2010.
I want to change the formate of ajaxcalender extender like 23-Apr-2013 how it possible.
I want this because i have some rocrds in table where date is stored in formate of 23-Apr-13 and when i wnat to search it on basis of date i am unable to find it because may calender formate is 23-04-13. if their is no way to cahge the formate calaender extender so i convert 23-04-13 values to 23-Apr-13 using code ?
I am working on a .NET web application and I'm trying to use ajax CalendarExtender for the users to specify a specific date. For some reason, when I click the icon to display the calendar, the background seems to be transparent, shown below:
What could be the reason for this?
I've tried googling it but it seems nobody has worked it out yet.
I've also tried setting up it's z-index property to as high value as 5000000 but still doesn't work.
I have a page that displays data depending upon the date range entered by the user into two textboxes. I have added the CalendarExtender control from the Ajax Toolbox to each of these two textboxes, and I would like the associated updatePanel to refresh with new data whenever either of the two dates is changed. Sounds simple enough, but I have not been able to manage it so far.
I have a textbox with a calendarextender and if I type in a partial date it automatically fills in the rest of the date with today's day/year. For example, if I just type in 5 and hit tab, it will fill in 5/23/2010. How can I prevent this from occurring, so that when the user tabs out of the field, only the numbers they have typed in will remain, and trigger some validation?
I have two text boxes (from date and to date). Based on your demo i have disabled the future date but my requirement is
1). First i have select the from date. eg: 21-02-2013
2). Now i am selecting TO DATE. eg:21-01-2013
Now my requirement is i need to disable dates until 21-02-2013 to current date. Then user not able to select ToDate as 21-01-2013 i need to provide only option to select from 22-02-2013 to current date.
I have a textbox extended with the calendar extender in ASP.NET Ajax. If I get the selected date of the calendar, the variable is null, and the text of the textbox always defaults to the value I specified (Default) for when the page loads.
How can I get the selected date when I change it? I need this for the button click event handler.