or
<telerik:RadGrid ID="RadGridResources" runat="server" Width="950px" ShowStatusBar="true" AutoGenerateColumns="False" PageSize="7" AllowSorting="True" AllowMultiRowSelection="True" AllowPaging="True"> <PagerStyle Mode="NumericPages"></PagerStyle> <MasterTableView Width="100%" DataKeyNames="IDResource" AllowMultiColumnSorting="True" HierarchyDefaultExpanded="true"> <DetailTables> <telerik:GridTableView DataKeyNames="IDSlot" Name="Slot" Width="100%"> <Columns> <telerik:GridClientSelectColumn HeaderStyle-Width="40px" UniqueName="CheckboxSelectIDSlotColumn" > <HeaderStyle Width="40px" /> </telerik:GridClientSelectColumn> <telerik:GridBoundColumn SortExpression="IDSlot" HeaderText="IDSlot" HeaderButtonType="TextButton" DataField="IDSlot"> </telerik:GridBoundColumn> <telerik:GridBoundColumn SortExpression="Code" HeaderText="Code" HeaderButtonType="TextButton" DataField="Code"> </telerik:GridBoundColumn> <telerik:GridBoundColumn SortExpression="Description" HeaderText="Description" HeaderButtonType="TextButton" DataField="Description"> </telerik:GridBoundColumn> </Columns> </telerik:GridTableView> </DetailTables> <Columns> <telerik:GridBoundColumn SortExpression="IDResource" HeaderText="IDResource" HeaderButtonType="TextButton" DataField="IDResource"> </telerik:GridBoundColumn> <telerik:GridBoundColumn SortExpression="Code" HeaderText="Code" HeaderButtonType="TextButton" DataField="Code"> </telerik:GridBoundColumn> <telerik:GridBoundColumn SortExpression="Description" HeaderText="Description" HeaderButtonType="TextButton" DataField="Description"> </telerik:GridBoundColumn> </Columns> </MasterTableView> <ClientSettings enablePostBackOnRowClick="true"> <ClientEvents /> <Selecting AllowRowSelect="true" /> </ClientSettings> </telerik:RadGrid>Protected Sub RadGridResources_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles RadGridResources.SelectedIndexChanged Try Dim selectedItems As New ArrayList Dim idSlot As Long For i = 0 To RadGridResources.SelectedItems.Count - 1 Dim dataItem As GridDataItem = RadGridResources.SelectedItems(i) idSlot = dataItem("IDSlot").Text selectedItems.Add(idSlot) Next 'TO DO Catch ex As Exception End Try End SubI have a RadMenu in a SharePoint master page. The problem is, when I select the site Actions dropdown it appears behind the RadMenu. The Default z-index of the menu is 7000, I’ve set it to (z-index 3 !important) with no change to the issue.
How should I configure the RadMenu to appear below the SharePoint Site Actions Menu, But will still remain above the other Telerik controls.
GridGroupHeaderItem groupHeader = dtgLeads.MasterTableView.GetItems(GridItemType.GroupHeader)[index] as GridGroupHeaderItem; GridItem[] children = groupHeader.GetChildItems(); bool hasChild = groupHeader.HasChildItems; children.Count() > 0 flag = true; foreach (GridItem child in children) {}
// this is wired up to a ASP:BUTTON -- onClick event
function upDatePAMLabel(label,grid) { $("#" + label).html("There are no User IDs waiting to be exported"); // AJAX Call back here to refresh the grid // $("#" + grid).ajax("PortalAdminManager.aspx", "", "rgRequests_NeedDataSource",""); /* does nothing! $.ajax({ type: "POST", url: "PortalAdminManager.aspx/rgRequests_NeedDataSource", data: "{}", contentType: "application/json; charset=utf-8", dataType: "json", success: function (msg) { alert(msg) } }); */ // brute force method - to refresh the grid // force a reload so that Request Status is updated in the grid $(document).ready(function () { setTimeout(function () { window.location.href = "./PortalAdminManager.aspx"; }, 1000); }); }
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Default" %><!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></title> <telerik:RadStyleSheetManager id="RadStyleSheetManager1" runat="server" /> <link href="css/style.css" rel="stylesheet" type="text/css" /></head><body> <form id="form1" runat="server"> <telerik:RadScriptManager ID="RadScriptManager1" runat="server"> <Scripts> <%--Needed for JavaScript IntelliSense in VS2010--%> <%--For VS2008 replace RadScriptManager with ScriptManager--%> <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" /> <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" /> <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" /> </Scripts> </telerik:RadScriptManager> <script type="text/javascript"> //Put your JavaScript code here. </script> <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"> </telerik:RadAjaxManager> <telerik:RadSkinManager ID="RadSkinManager1" Runat="server" Skin="Hay"> </telerik:RadSkinManager> <div> <telerik:RadEditor ID="RadEditor1" Runat="server"> </telerik:RadEditor> </div> </form></body></html><%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Default" %><!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></title> <telerik:RadStyleSheetManager id="RadStyleSheetManager1" runat="server" /> <link href="css/style.css" rel="stylesheet" type="text/css" /></head><body> <form id="form1" runat="server"> <telerik:RadScriptManager ID="RadScriptManager1" runat="server"> <Scripts> <%--Needed for JavaScript IntelliSense in VS2010--%> <%--For VS2008 replace RadScriptManager with ScriptManager--%> <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" /> <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" /> <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" /> </Scripts> </telerik:RadScriptManager> <script type="text/javascript"> //Put your JavaScript code here. </script> <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"> </telerik:RadAjaxManager> <telerik:RadSkinManager ID="RadSkinManager1" Runat="server" Skin="Hay"> </telerik:RadSkinManager> <div> <telerik:RadEditor ID="RadEditor1" Runat="server"> <Tools> <telerik:EditorToolGroup Tag="MainToolbar"> <telerik:EditorTool Name="Print" ShortCut="CTRL+P" /> <telerik:EditorTool Name="AjaxSpellCheck" /> <telerik:EditorTool Name="FindAndReplace" ShortCut="CTRL+F" /> <telerik:EditorTool Name="SelectAll" ShortCut="CTRL+A" /> <telerik:EditorTool Name="Cut" /> <telerik:EditorTool Name="Copy" ShortCut="CTRL+C" /> <telerik:EditorTool Name="Paste" ShortCut="CTRL+V" /> <telerik:EditorToolStrip Name="PasteStrip"> </telerik:EditorToolStrip> <telerik:EditorSeparator /> <telerik:EditorSplitButton Name="Undo"> </telerik:EditorSplitButton> <telerik:EditorSplitButton Name="Redo"> </telerik:EditorSplitButton> </telerik:EditorToolGroup> <telerik:EditorToolGroup Tag="InsertToolbar"> <telerik:EditorTool Name="ImageManager" ShortCut="CTRL+G" /> <telerik:EditorTool Name="DocumentManager" /> <telerik:EditorTool Name="FlashManager" /> <telerik:EditorTool Name="MediaManager" /> <telerik:EditorTool Name="TemplateManager" /> <telerik:EditorSeparator /> <telerik:EditorTool Name="LinkManager" ShortCut="CTRL+K" /> <telerik:EditorTool Name="Unlink" ShortCut="CTRL+SHIFT+K" /> </telerik:EditorToolGroup> <telerik:EditorToolGroup> <telerik:EditorTool Name="Superscript" /> <telerik:EditorTool Name="Subscript" /> <telerik:EditorTool Name="InsertParagraph" /> <telerik:EditorTool Name="InsertGroupbox" /> <telerik:EditorTool Name="InsertHorizontalRule" /> <telerik:EditorTool Name="InsertDate" /> <telerik:EditorTool Name="InsertTime" /> <telerik:EditorSeparator /> <telerik:EditorTool Name="FormatCodeBlock" /> </telerik:EditorToolGroup> <telerik:EditorToolGroup> <telerik:EditorDropDown Name="FormatBlock"> </telerik:EditorDropDown> <telerik:EditorDropDown Name="FontName"> </telerik:EditorDropDown> <telerik:EditorDropDown Name="RealFontSize"> </telerik:EditorDropDown> </telerik:EditorToolGroup> <telerik:EditorToolGroup> <telerik:EditorTool Name="AbsolutePosition" /> <telerik:EditorSeparator /> <telerik:EditorTool Name="Bold" ShortCut="CTRL+B" /> <telerik:EditorTool Name="Italic" ShortCut="CTRL+I" /> <telerik:EditorTool Name="Underline" ShortCut="CTRL+U" /> <telerik:EditorTool Name="StrikeThrough" /> <telerik:EditorSeparator /> <telerik:EditorTool Name="JustifyLeft" /> <telerik:EditorTool Name="JustifyCenter" /> <telerik:EditorTool Name="JustifyRight" /> <telerik:EditorTool Name="JustifyFull" /> <telerik:EditorTool Name="JustifyNone" /> <telerik:EditorSeparator /> <telerik:EditorTool Name="Indent" /> <telerik:EditorTool Name="Outdent" /> <telerik:EditorSeparator /> <telerik:EditorTool Name="InsertOrderedList" /> <telerik:EditorTool Name="InsertUnorderedList" /> <telerik:EditorSeparator /> <telerik:EditorTool Name="ToggleTableBorder" /> <telerik:EditorTool Name="XhtmlValidator" /> </telerik:EditorToolGroup> <telerik:EditorToolGroup> <telerik:EditorSplitButton Name="ForeColor"> </telerik:EditorSplitButton> <telerik:EditorSplitButton Name="BackColor"> </telerik:EditorSplitButton> <telerik:EditorDropDown Name="ApplyClass"> </telerik:EditorDropDown> <telerik:EditorToolStrip Name="FormatStripper"> </telerik:EditorToolStrip> </telerik:EditorToolGroup> <telerik:EditorToolGroup Tag="DropdownToolbar"> <telerik:EditorSplitButton Name="InsertSymbol"> </telerik:EditorSplitButton> <telerik:EditorToolStrip Name="InsertTable"> </telerik:EditorToolStrip> <telerik:EditorToolStrip Name="InsertFormElement"> </telerik:EditorToolStrip> <telerik:EditorSplitButton Name="InsertSnippet"> </telerik:EditorSplitButton> <telerik:EditorTool Name="ImageMapDialog" /> <telerik:EditorDropDown Name="InsertCustomLink"> </telerik:EditorDropDown> <telerik:EditorSeparator /> <telerik:EditorTool Name="ConvertToLower" /> <telerik:EditorTool Name="ConvertToUpper" /> <telerik:EditorSeparator /> <telerik:EditorDropDown Name="Zoom"> </telerik:EditorDropDown> <telerik:EditorSplitButton Name="ModuleManager"> </telerik:EditorSplitButton> <telerik:EditorTool Name="ToggleScreenMode" ShortCut="F11" /> <telerik:EditorTool Name="AboutDialog" /> </telerik:EditorToolGroup> </Tools> <Content></Content> </telerik:RadEditor> </div> </form></body></html>