or

<telerik:RibbonBarSplitButton ID="testSplit" Text="Split Button" Size="Large" ImageUrlLarge="Enabled.png" DisabledImageUrlLarge="Disabled.png" ImageRenderingMode="Dual" Enabled="true" > <Buttons> <telerik:RibbonBarButton ID="testSub1" Text="Option 1" ImageUrl="MyIcon.png" DisabledImageUrl="MyIconDis.png" Enabled="false" Value="alert('Option 1 clicked')" /> <telerik:RibbonBarButton ID="testSub2" Text="Option 2" ImageUrl="MyIcon.png" DisabledImageUrl="MyIconDis.png" Enabled="false" Value="alert('Option 2 clicked')" /> </Buttons></telerik:RibbonBarSplitButton>CREATE PROCEDURE [dbo].[sp_Events_GetNext10EventsIncludeRecurring]ASBEGIN SET NOCOUNT ON; DECLARE @StartDate DATETIME; DECLARE @EndDate DATETIME; SET @StartDate = CAST(CONVERT(VARCHAR,GETDATE(),21) AS DATETIME); SET @EndDate = CAST(CONVERT(VARCHAR,GETDATE()+365,21) AS DATETIME); -- List all appointments (recurring or not) in the given rangeSELECT TOP 10 a.[EventID] as [EventID], a.[EventName] as [EventName], a.[Description] as [Description], a.[Location], ISNULL(o.StartDate, a.[StartDateTime]) as [StartDateTime], ISNULL(o.EndDate, a.[EndDateTime]) as [EndDateTime], a.[RecurrenceRule] as [RecurrenceRule], a.[RecurrenceParentID] as [RecurrenceParentID], a.[EventTypeID] as [EventTypeID], a.[EventType] as [EventType], a.[EventCategoryID] as [EventCategoryID], a.[EventCategory] as [EventCategory], a.[VenueID] as [VenueID], a.[VenueName] as [VenueName], a.[IsCityVenue] as [IsCityVenue], a.[RSVP] as [RSVP], a.[MinAttendees] as [MinAttendees], a.[MaxAttendees] as [MaxAttendees], a.[Notes] as [Notes], a.[AddedBy] as [AddedBy], a.[EditedBy] as [EditedBy], a.[DateAdded] as [DateAdded], a.[LastEdited] as [LastEdited], a.[Status] as [Status]FROM [vw_Details_Events_Active] a OUTER APPLY [dbo].[ExpandRecurrence](a.[RecurrenceRule], @Startdate, @EndDate) AS oWHERE -- Include non-recurring appointments in the range (a.[RecurrenceRule] IS NULL AND a.[StartDateTime] < @EndDate AND a.[EndDateTime] > @StartDate) OR -- And recurring appointments in range. (a.[RecurrenceRule] IS NOT NULL AND o.[StartDate] < @EndDate AND o.[EndDate] > @StartDate)ORDER BY [StartDateTime]END<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server"> <script type="text/javascript"> function ExternalitemOpened(s, e) { if ($telerik.isIE8) { // Fix an IE 8 bug that causes the list bullets to disappear (standards mode only) $telerik.$("li", e.get_item().get_element()) .each(function () { this.style.cssText = this.style.cssText; }); } } function External_MouseOver(sender, args) { if (args.get_item().get_parent() == sender) { sender.set_clicked(false); } } function ExternalOnClientItemClicking(sender, args) { if (args.get_item().get_isOpen() == true) { args.set_cancel(true); args.get_item().close(); } } </script> </telerik:RadCodeBlock><telerik:RadMenu ID="RadMenu_SpecialReport" runat="server" ClickToOpen="True" EnableShadows="True" OnClientItemOpened="ExternalitemOpened" OnClientItemClicking="ExternalOnClientItemClicking" OnClientMouseOut="External_MouseOver" Style="top: 0px; left: -2px; z-index: 100; height: 35px;" Skin="ExternalGridButtons" EnableEmbeddedSkins="false"> <Items> <telerik:RadMenuItem PostBack="true" Text="Special Reports" Value="Special_Reports" CssClass="btn btn-primary btn-menu-grid-size"> <ContentTemplate> <div id="Special_panel" class="Special_panel" style="width:300px; height:500px; background-color:white;"> <telerik:RadAjaxPanel ID="RadAjaxPanel_SpecialReport" runat="server" Width="80%"></telerik:RadAjaxPanel> <telerik:RadButton ID="btn_ShowSpecialReport" runat="server" Text="Show Special Report" Skin="Web20" CssClass="btn_Sort" OnClick="btn_ShowSpecialReport_Click"></telerik:RadButton> </div> </ContentTemplate> </telerik:RadMenuItem> <telerik:RadMenuItem PostBack="true" Text="zzzz" Value="zzzzz" CssClass="btn btn-primary btn-menu-grid-size"> <ContentTemplate> <div id="Div1" class="Special_panel" style="width:300px; height:500px; background-color:white;"> <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" Width="80%"></telerik:RadAjaxPanel> <telerik:RadButton ID="RadButton2" runat="server" Text="Show Special Report" Skin="Web20" CssClass="btn_Sort" OnClick="btn_ShowSpecialReport_Click"></telerik:RadButton> </div> </ContentTemplate> </telerik:RadMenuItem> <telerik:RadMenuItem IsSeparator="true"></telerik:RadMenuItem> </Items> </telerik:RadMenu>