protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { taskGrid.DataSource = myDAL.GetTask(0); taskGrid.Rebind(); }
This is how I am populating my grid. When I use paging, it disappears.
Please help,
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server"> <asp:Label ID="progressLabel" runat="server" Text="Doing something...." /> </telerik:RadAjaxLoadingPanel> Hi
I have a RadGrid, I have now been tasked with putting a Right Click Context menu in place. What I need to figure out is:
1) How can I get a value from the either the DataItem or the DataKeyValues from client side for the row that has fired off the
context menu?
Any thoughts / pointers most appreciated
<telerik:RadMenu ID="RadMenuClients" runat="server" > <Items> <telerik:RadMenuItem Text="Toto" Value="0" /> <telerik:RadMenuItem Text="Titi" Value="1" /> <telerik:RadMenuItem Text="Tata" Value="3" /> <telerik:RadMenuItem Text="Tutu" Value="2" /> <telerik:RadMenuItem Text="Tete" Value="4" /> </Items></telerik:RadMenu>Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load 'Highliting Dim currentItem As RadMenuItem = RadMenuClients.Items.FindItemByValue(Session("idSel")) If currentItem IsNot Nothing Then currentItem.HighlightPath() Else RadMenuClients.Items.FindItemByValue(0).HighlightPath() End IfEnd Sub Protected Sub RadMenuClients_ItemClick(ByVal sender As Object, ByVal e As Telerik.Web.UI.RadMenuEventArgs) Handles RadMenuClients.ItemClick Session("idSel") = e.Item.Value End SubI have a RadMenu (with a custom skin - css code below) that has a root list with some of the root items having one level of child items. The issue that I have is that I have a border set to enclose the child items via a custom skin and it partially displays when you hover a root item that has no child items assigned to it (See attached images - NoChildItems.jpg and ChildItems.jpg). I changed the border color to red so that it would stand out during testing. Is there any way to rectify this or does the border have to be the same color as the root item background?
/* SVPD Menu / Simple> */ /* for root items */div.RadMenu_SVPD ul.rmRootGroup { } div.RadMenu_SVPD .rmLink { color: #ffffff; padding-left: 15px; font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-weight: normal; text-decoration: none; height: 20px; } /* for hover, focused, expanded items */div.RadMenu_SVPD .rmItem .rmLink:hover { color: #91c8ff; cursor: pointer; } div.RadMenu_SVPD .rmItem .rmFocused, div.RadMenu_SVPD .rmItem .rmSelected, div.RadMenu_SVPD .rmItem .rmExpanded { } /*for subitems */ div.RadMenu_SVPD .rmGroup { padding-top: 4px !important; border: 1px solid #ff0000; background: #003c77 url('Menu/rmVSprite.png') repeat-y; } div.RadMenu_SVPD .rmGroup .rmLink { color: #ffffff; padding-right: 0px !important; font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-weight: normal; text-decoration: none; float: left; } div.RadMenu_SVPD .rmGroup .rmText { Padding-left: 10px !important; } /* for hover, focused, expanded items */div.RadMenu_SVPD .rmGroup .rmItem .rmLink:hover { color: #91c8ff; cursor: pointer; } div.RadMenu_SVPD .rmGroup .rmItem .rmFocused, div.RadMenu_SVPD .rmGroup .rmItem .rmSelected, div.RadMenu_SVPD .rmGroup .rmItem .rmExpanded { }