Hi,
I am using my own RadWindow to add and edit Appointments and that is all working fine. However, when I pass the date and time double clicked to the RadWindow, it's an hour out.
The javascript:
var
start = formatDate(eventArgs.get_startTime());
seems to be returning 15:00 when I am clicking on 14:00.
Is this to do with UTC time and, if it is, how do I get it to consistently return the correct time? I am assuming (maybe wrongly) that this is caused because I am in the UK and we are currently British Summer Time which is one hour offset.
What can I do to make sure this is passed as the correct time I clicked on, Summer and Winter, and what happens if the app is used somewhere else in the world?
David Penny
We have a splitter set up with 3 panes, and after a couple postbacks the panes get "locked" ... collapse/expand state also gets corrupted between postbacks.
Repro:
Here's a repro page source:
| <%@ Page Language="C#" AutoEventWireup="true" %> |
| <%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %> |
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html xmlns="http://www.w3.org/1999/xhtml"> |
| <head runat="server"> |
| <title>Telerik Splitter Test</title> |
| </head> |
| <body> |
| <form id="form1" runat="server"> |
| <asp:ScriptManager ID="DefaultScriptManager" runat="server" /> |
| <asp:Button ID="btn_Refresh" runat="server" Text="Refresh Page" CssClass="command_button" /><br /><br /> |
| <div height="100%" > |
| <telerik:RadSplitter id="RadMainSplitter" runat="server" width="100%" height="500" > |
| <telerik:RadPane id="LeftPane" runat="server" width="260" > |
| Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Suspendisse dictum sapien et mauris. Suspendisse malesuada cursus est. Sed ante dolor, lacinia a, porta |
| </telerik:RadPane> |
| <telerik:RadSplitBar id="LeftSplitBar" runat="server" collapsemode="Forward" ></telerik:RadSplitBar> |
| <telerik:RadPane id="CenterPane" height="100%" runat="server" > |
| Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Suspendisse dictum sapien et mauris. Suspendisse malesuada cursus est. Sed ante dolor, lacinia a, porta |
| </telerik:RadPane> |
| <telerik:RadSplitBar id="RightSplitBar" runat="server" collapsemode="Backward" ></telerik:RadSplitBar> |
| <telerik:RadPane id="RightPane" runat="server" Width="160" Visible="true" > |
| Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Suspendisse dictum sapien et mauris. Suspendisse malesuada cursus est. Sed ante dolor, lacinia a, porta |
| </telerik:RadPane> |
| </telerik:RadSplitter> |
| </div> |
| </form> |
| </body> |
| </html> |