Hello,
I am adding exception to Recurrence rule.
I followed this link Recurrence Rule Excpetion
1.RecurrenceRule RecurrenceRuleEvent = RecurrenceRule.TryParse(strRecurrenceRule); 2.RecurrenceRuleEvent.Exceptions.Add((Convert.ToDateTime("8/25/2009 10:00 AM").ToUniversalTime()));I want to add Exception to "8/25/2009 10:00 AM"
But this line adding exception to "8/25/2009 04:30 AM"
I have attached Screen shot that Whats the basic problem.
The Recurrence Rule after Adding Exception.
DTSTART:20100825T090000Z
DTEND:20100825T093000Z
RRULE:FREQ=HOURLY;INTERVAL=1
EXDATE:20100825T090000Z,20100825T043000Z,20090825T043000Z
Thank you!
I've been able to track down my problem to a very specific scenario, one to which I hope there is an easy solution. I have a page with a single update panel (had to use the ASP.NET one due to conditional updating) which contains a "Show ToolTip" link only and a single ToolTip with an update panel and a close button. That simple. When I click on the link "Show ToolTip" the tooltip pops up just fine. When I click on the "Close ToolTip" button inside the tooltip it closes just fine. The close button fires a JavaScript method to close the tooltip and then updates the update panel contents. When I click on the "Show ToolTip" link again (A SECOND TIME), the screen goes modal (like it will load the tooltip) but shows no tooltip. I believe it is a problem with the target control id because if I set the target control id to blank and center the tooltip it comes up. This is not the behavior we want to exhibit in our application, though. Lastly, the target control must be variable because we have this tooltip popping up in a repeater.
The page code:
<form id="form1" runat="server"> <asp:scriptmanager runat="server"></asp:scriptmanager> <telerik:RadToolTip ID="EditActivityModalToolTip" ClientIDMode="Static" Modal="true" runat="server" IsClientID="true" Skin="Telerik" ShowEvent="FromCode" HideEvent="FromCode" EnableViewState="True" EnableShadow="true" Position="MiddleRight" OnClientBeforeHide="EditActivityTooltipOnClientBeforeHide"> <asp:UpdatePanel ID="ToolTipUpdatePanel" runat="server"> <ContentTemplate> <asp:Button ID="CloseButton" OnClick="CloseButton_CloseClicked" runat="server" Text="Button" /> </ContentTemplate> </asp:UpdatePanel> </telerik:RadToolTip> <div> <asp:UpdatePanel ID="MainUpdatePanel" runat="server" UpdateMode="Conditional"> <ContentTemplate> <a id="SampleLink" onclick="javascript:ShowEditActivityToolTip('SampleLink', 'EditActivityModalToolTip')";>Show ToolTip</a> </ContentTemplate> </asp:UpdatePanel> </div> </form><script type="text/javascript"> var toHideEditActivityToolTip; function EditActivityTooltipOnClientBeforeHide(sender, args) { if (!toHideEditActivityToolTip) args.set_cancel(true); } function HideEditActivityToolTip(toolTipClientId) { toHideEditActivityToolTip = true; var radToolTip = $find(toolTipClientId); radToolTip.hide(); } function ShowEditActivityToolTip(sender, toolTipClientId) { toHideEditActivityToolTip = false; var radToolTip = $find(toolTipClientId); radToolTip.set_targetControlID(sender); radToolTip.show(); } function OnClientBeforeShow(sender, args) { sender._popupBehavior.set_keepInScreenBounds(false); } </script>protected void CloseButton_CloseClicked(object sender, EventArgs e) { ScriptManager.RegisterClientScriptBlock(Page, this.GetType(), "HideFilterToolTip", "HideEditActivityToolTip('" + EditActivityModalToolTip.ClientID + "');", true); MainUpdatePanel.Update(); }Hi,Here is the example.<rad:RadMenu runat="server" ID="RadMenu1" Width="100%" EnableRootItemScroll="true"> <Items> <rad:RadMenuItem Text="Menu1"> <Items> <rad:RadMenuItem Text="Menu1_1"></rad:RadMenuItem> <rad:RadMenuItem Text="Menu1_2"></rad:RadMenuItem> <rad:RadMenuItem Text="Menu1_3"></rad:RadMenuItem> </Items> </rad:RadMenuItem> <rad:RadMenuItem Text="Menu2"></rad:RadMenuItem> <rad:RadMenuItem Text="Menu3"></rad:RadMenuItem> <rad:RadMenuItem Text="Menu4"></rad:RadMenuItem> </Items></rad:RadMenu>What happens is that the submenu items Menu1_1, Menu1_2, Menu1_3 are not displayed vertically but horizontally.Did you know about it? Is already solved in the latest versions? I'm using 2010Q2.
Best regards, Andrea Pirola