Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 4356

Edited Issue: CalendarExtender year change bug when setting StartDate and EndDate [27346]

$
0
0
Using CalendarExtender from AJAX Control Toolkit latest version:

```
AjaxControlToolkit, Version=4.1.7.123, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e
```

After opening the extender I click on calendar header to get to month view, and once again to reach year view:

![Image](http://j.mp/VlBDbu)

If I click on the right arrow I reach the next screen of years, but clicking the left arrow does not allow me to reach the original list of years:

![Image](http://j.mp/VlCkBx)

I can still navigate right until the last available year is shown, but if I click on left arrow it will only go as back as this 2nd picture.

ASPX code that shows the problem:

```
<asp:TextBox runat="server" ID="txtCalendar" />
<asp:Button runat="server" ID="btnOpenCld" Text="Open" />
<act:CalendarExtender runat="server" ID="cldExtender"
TargetControlID="txtCalendar"
PopupButtonID="btnOpenCld"
StartDate="1/29/2013"
EndDate="12/31/2035" />
```

If I would set the year of StartDate to 1995, by clicking the left arrow I could only go as far as:

![Image](http://j.mp/1175HPT)

I tried various ways to set the start/end dates but the same problem remains.

Attached is a simple demo that manifests the bug.

Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>