Sign in | Join
Last post 11-03-2009 8:29 AM by zither. 3 replies.
Sort Posts: Oldest to newest Newest to oldest
Hi
does anyone know how to set the culture language of the CalendarExtender to French so that the calendar popup would display in French
Thanks
Hi Laval1,
For example,
<%@ Page Language="C#" Culture="ar-sa" UICulture="ar-sa"%> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <script runat="server"> </script> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>Untitled Page</title> </head> <body> <form id="form1" runat="server"> <asp:ScriptManager ID="ScriptManager1" runat="server" EnableScriptLocalization="true" EnableScriptGlobalization="true"> </asp:ScriptManager> <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox> <asp:TextBox ID="txtDate" runat="server" Width="120px" AutoPostBack="true" EnableViewState="false"></asp:TextBox> <ajaxToolkit:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID="txtDate" Enabled="True" /> </form> </body> </html> Also you should add the resource file to your bin directly. For example, AjaxControlToolkit.resources.dll You can find it under the samplewebsite/bin/fr
directory inside the Ajax Control Toolkit package.
Best regards,
Jonathan
thanks Jonathan
this was helpfull
I wonder why the respone above was marked as "answer", although it doesn't work completely.
what I got from that is "Arabic month names" but the year instead of 1431 it was 2009.
how would that be solved?
regards,