Click here to Skip to main content
15,896,359 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am using CalendarExtender and MaskedEditExtender for giving date in asp.net
I give the following coding for date
<cc1:CalendarExtender id="CalendarExtender1"  runat="server" TargetControlID="dat" Format="dd/MM/yyyy"></cc1:CalendarExtender></cc1:CalendarExtender> 

<cc1:MaskedEditExtender id="MaskedEditExtender2"  runat="server" TargetControlID="dat" Mask="99/99/9999" MaskType="Date" UserDateFormat="DayMonthYear"></cc1:MaskedEditExtender>


But it takes MM/dd/yyyy format

Please help anybody for solve this problem
Posted
Updated 16-Sep-19 0:24am

 
Share this answer
 
Comments
devausha 9-Jun-12 2:39am    
Hi,
Thank you for your reply, I am using Calender Extender Format= "dd/MM/YYYY,yyyy". It is Working. When I Changes made in My webform, It is automatically changes MM/dd/YYYY format. What Can I do Please help me. I am using Update Panel.
Use the Format property.

Try Format="dd.MM.YYYY".
 
Share this answer
 
I found the solution and resovled for me
<system.web>
<globalization culture="en-NZ" uiculture="en-NZ">
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900