I want the datepicker to use the client settings for date format.
This works if I run it from visual studio. Once I publish it though the datepicker no longer reflects my system date formats.
On my system the date format is yyyy-mm-dd and I see this format used when running from visual studio.
When I run it after publishing it - I see dd/mm/yyyy
What do I have to do to make this work for published and installed sites?
What am I missing?
I have attached a very basic sample project that whipped up to test it and it also does this in the same way as our main app.
Thanks for your help.
I have also pasted the entire web page below (not very long)
This works if I run it from visual studio. Once I publish it though the datepicker no longer reflects my system date formats.
On my system the date format is yyyy-mm-dd and I see this format used when running from visual studio.
When I run it after publishing it - I see dd/mm/yyyy
What do I have to do to make this work for published and installed sites?
What am I missing?
I have attached a very basic sample project that whipped up to test it and it also does this in the same way as our main app.
Thanks for your help.
I have also pasted the entire web page below (not very long)
01.<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Default" %>02. 03.<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">04. 05.<html xmlns="http://www.w3.org/1999/xhtml">06.<head runat="server">07. <title></title>08. <telerik:RadStyleSheetManager id="RadStyleSheetManager1" runat="server" />09.</head>10.<body>11. <form id="form1" runat="server">12. <telerik:RadScriptManager ID="RadScriptManager1" runat="server">13. <Scripts>14. <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />15. <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />16. <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />17. </Scripts>18. </telerik:RadScriptManager>19. 20. 21. <telerik:RadDatePicker ID="dte_startDate" runat="server"></telerik:RadDatePicker>22. 23. <script type="text/javascript">24. //Put your JavaScript code here.25. </script>26. <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">27. </telerik:RadAjaxManager>28. <div>29. 30. </div>31. </form>32.</body>33.</html>