or
protected void RadGrid1_PreRender(object sender, EventArgs e) { RadGrid1.HeaderStyle.Font.Size = 10; RadGrid1.GroupHeaderItemStyle.Font.Size = 10; GridGroupByExpression gridGroupByExpression1 = new GridGroupByExpression(); GridGroupByField gridGroupByField1 = new GridGroupByField(); gridGroupByField1.FieldName = "GroupName"; gridGroupByField1.HeaderValueSeparator = " "; gridGroupByExpression1.SelectFields.Add(gridGroupByField1); gridGroupByExpression1.GroupByFields.Add(gridGroupByField1); GridGroupByField gridGroupByField3 = new GridGroupByField(); foreach (totals tot in totalsList) { gridGroupByField3 = new GridGroupByField(); gridGroupByField3.FieldName = tot.name; gridGroupByField3.HeaderText = " "; gridGroupByField3.HeaderValueSeparator = " "; gridGroupByField3.FormatString = " (Total: {0})"; gridGroupByField3.Aggregate = GridAggregateFunction.Sum; gridGroupByExpression1.SelectFields.Add(gridGroupByField3); } RadGrid1.MasterTableView.GroupByExpressions.Add(gridGroupByExpression1); }
.RadMenu_Test .rmRootGroup, .RadMenu_Test a.rmLink, .RadMenu_Test .rmGroup .rmText, .RadMenu_Test .rmVertical .rmText, .RadMenu_Test .rmLeftArrow, .RadMenu_Test .rmRightArrow, .RadMenu_Test .rmTopArrow, .RadMenu_Test .rmBottomArrow, .RadMenu_Test .rmIcon { background-color: transparent;}div.RadMenu_Test .rmLink .rmText,div.RadMenu_Test .rmFocused .rmText { line-height: 57px; color: red; font-size: 18px; font-weight: Bold;}div.RadMenu_Test .rmSelected .rmText,div.RadMenu_Test .rmLink:hover .rmText,div.RadMenu_Test .rmExpanded .rmText { color: #555;}div.RadMenu_Test .rmGroup,div.RadMenu_Test .rmMultiColumn,div.RadMenu_Test .rmGroup .rmVertical { background-color: #FFFFFF; border: 1px solid #979797;}div.RadMenu_Test a.rmLink:hover,div.RadMenu_Test a.rmExpanded { background-color: aqua; border-radius: 8px 8px 0 0; border-left: 1px solid #979797; border-right: 1px solid #979797; border-top: 1px solid #979797;}div.RadMenu_Test .rmGroup .rmItem .rmLink .rmText { color: black; line-height: 30px; font-size: 12px; font-weight: normal; text-decoration: underline; background-color: white;}div.RadMenu_Test .rmGroup .rmItem .rmLink:hover { background-color: #fff; border: 0px;}C# code:protected void rlbClntService_Transferring(object sender, RadListBoxTransferringEventArgs e){ string hHold = Uc_Client.Clients.SelectedValue; double pLevel, eligibility; string sItem; pLevel = objBLLClntServ.GetClientPLevel(hHold); sItem = rlbClntService.SelectedItem.Value; eligibility = objBLLClntServ.GetEForSelectedItem(sItem); if (pLevel > eligibility) { //ScriptManager.RegisterStartupScript(this, GetType(), "showalert", "alert('Client is not eligible.');", true); lblWarning.Text = "This client not eligible. "; mpuWarning.Show(); } }ASPX:<table> <tr> <td> <telerik:RadListBox ID="rlbClntService" runat="server" AllowTransfer="True" AllowTransferDuplicates="false" AutoPostBack="true" AllowTransferOnDoubleClick="True" AutoPostBackOnTransfer="true" EnableDragAndDrop="true" Height="130px" Skin="Forest" TransferToID="rlbSelectedServices" Width="400px" OnTransferring="rlbClntService_Transferring"> <ButtonSettings ShowReorder="false" ShowTransferAll="false" /> </telerik:RadListBox> </td> <td> <table> <tr> <td> <asp:Label ID="lblSelectedServices" runat="server" CssClass="label" Text="Selected Services" /> </td> </tr> <tr> <td> <telerik:RadListBox ID="rlbSelectedServices" runat="server" AllowDelete="true" Height="110px" Skin="Forest" Width="400px"> <ButtonSettings ShowDelete="true" TransferButtons="All" /> </telerik:RadListBox> </td> </tr> </table> </td> </tr> </table>