ASP.NET - AJAXtoolkit:CalendarExtender display days format change to Sun, Mon, Tue...

Asked By Kumaresan Karunendiran on 06-Mar-10 07:29 AM
Hi,
    By default  displays the days in the format : Su, Mo, Tu, We, Th, Fr, Sa

    I need to change this days display in the format: Sun, Mon, Tue, Wed, Thu, Fri, Sat

    Please somebody help me out on this...

Here is code iam using:

<


AJAXtoolkit:CalendarExtender ID="calEff" runat="server" TargetControlID="txtEff" CssClass="CssCalander" PopupButtonID="imgBtnEff" Animated="true" />


<AJAXtoolkit:MaskedEditExtender ID="meeEff" runat="server" TargetControlID="txtEff" Mask="99/99/9999" MaskType="Date" MessageValidatorTip="true" InputDirection="RightToLeft" ErrorTooltipEnabled="true" OnInvalidCssClass="MaskedEditError" />


Kirtan Patel replied to Kumaresan Karunendiran on 06-Mar-10 10:03 AM
This Kind of Day Format is Changeable in Asp.net Standard Calendar Control but  its not possible with Ajax Control Toolkit..

we can change ..the Selected Date Format yet..
Hesham Amin replied to Kumaresan Karunendiran on 06-Mar-10 10:48 AM
Hello Kumaresan
Seems that there is no direct property to set the day format. it's hard coded in the JS files. But since it is an open source project, you can change it like this:
Open CalendarBehavior.debug.js or CalendarBehavior.js (according to your build, debug or release)
Change ShortestDayNames to AbbreviatedDayNames. and rebuild the library.