<%@ Control Language="vb" AutoEventWireup="false" CodeBehind="radCBOLookup.ascx.vb" Inherits="HEW.radCBOLookup" %><telerik:RadComboBox ID="radCBOLookup" runat="server" MarkFirstMatch="true" AllowCustomText="false" Width="50px" DropDownWidth="350px" MaxHeight="300px" NoWrap="true" HighlightTemplatedItems="true" ExpandDirection="Down" ExpandDelay="0" CollapseDelay="0"> <HeaderTemplate> <table style="width: 100%; text-align: left; font-size: 8pt"> <tr> <td style="width: 20%;"> Code </td> <td style="width: 80%;"> Description </td> </tr> </table> </HeaderTemplate> <ItemTemplate> <table style="width: 100%; text-align: left; font-size: 8pt"> <tr> <td style="width: 20%;"> <%#DataBinder.Eval(Container.DataItem, "Master_Type_Code")%> </td> <td style="width: 80%;"> <%#DataBinder.Eval(Container.DataItem, "Master_Desc")%> </td> </tr> </table> </ItemTemplate></telerik:RadComboBox>e.Item.Text = (DirectCast(e.Item.DataItem, DataRowView))("Master_Type_Code").ToStringe.Item.Value = (DirectCast(e.Item.DataItem, DataRowView))("Master_Type_Code").ToString.Trime.Item.Attributes("Description") = (DirectCast(e.Item.DataItem, DataRowView))("Master_Desc").ToString.Trimprotected void rgPayoutElections_ItemDataBound(object sender, GridItemEventArgs e) { if (e.Item is GridDataItem) { GridDataItem item = e.Item as GridDataItem; int accountID = Int32.Parse(item.GetDataKeyValue("AccountID").ToString()); DataRow[] dr = PayoutElection.GetPayouts_ByAccount_ListByParticipant(Int32.Parse(Profile.ParticipantID), accountID); Table tblPayoutType = new Table(); foreach (DataRow row in dr) { TableRow trPayoutType = new TableRow(); TableCell cellPayoutType = new TableCell(); cellPayoutType.Text = row["PayoutType"].ToString(); cellPayoutType.CssClass = "textRed"; trPayoutType.Cells.Add(cellPayoutType); tblPayoutType.Rows.Add(trPayoutType); } item["PayoutType"].Controls.Add(tblPayoutType); } }
Below is a portion of my grid, which uses a DetailTable with its own CommandItemTemplate
<DetailTables> <telerik:GridTableView Name="PersonConditionGrid" runat="server" DataKeyNames="PersonConditionId" Caption="Conditions linked with this Person" DataSourceID="PersonConditionViewDataSrcId" TableLayout="Auto" Width="580px" AutoGenerateColumns="false" CommandItemDisplay="Top" ShowFooter="true" FooterStyle-BorderStyle="Solid" FooterStyle-BorderWidth="2pt"><ParentTableRelation> <telerik:GridRelationFields DetailKeyField="PersonId" MasterKeyField="PersonId" /> </ParentTableRelation><HeaderStyle Font-Bold="true" /><CommandItemTemplate> <table width="100%"> <tr> <td align="left"> <asp:LinkButton ID="btnAddNew" runat="server" CommandName="InitInsert"><asp:Image ID="imgAddNew" runat="server" ImageUrl="~/Images/button-New-24.gif" /> Add New Condition</asp:LinkButton> <asp:LinkButton ID="btnSaveNew" runat="server" CommandName="PerformInsert" ValidationGroup="EntryClass_VG"><asp:Image ID="imgSaveNew" runat="server" ImageUrl="~/Images/button-Save-24.gif" /> Save Condition</asp:LinkButton> <asp:LinkButton ID="btnEdit" runat="server" CommandName="EditSelected"><asp:Image ID="imgEdit" runat="server" ImageUrl="~/Images/button-Edit-24.gif" /> Take Action on Condition</asp:LinkButton> <asp:LinkButton ID="btnSaveEdit" runat="server" CommandName="UpdateEdited" ValidationGroup="EntryClass_VG"><asp:Image ID="imgSaveEdit" runat="server" ImageUrl="~/Images/button-Save-24.gif" /> Save Condition</asp:LinkButton> <asp:LinkButton ID="btnCancel" runat="server" CommandName="CancelAll" CausesValidation="false"><asp:Image ID="imgCancel" runat="server" ImageUrl="~/Images/button-Cancel-24.gif" /> Cancel Edit</asp:LinkButton> <asp:LinkButton ID="btnDelete" runat="server" CommandName="DeleteSelected" OnClientClick="return confirm('Are you sure you want to delete the selected record?');"><asp:Image ID="imgDelete" runat="server" ImageUrl="~/Images/button-Del-24.gif" /> Delete Condition</asp:LinkButton> </td> </tr> </table></CommandItemTemplate><Columns> <telerik:GridTemplateColumn UniqueName="SiteAccessConditionName" HeaderText="Access Condition Name" HeaderStyle-Width="200px" HeaderStyle-HorizontalAlign="Center"> <ItemTemplate>After a Save operation, the detailTable remains open, with the new item displayed in the grid (as expected).
After a Cancel or Delete operation, the DetailsTable collapses and the user has to expand the item again.
Is there some way to prevent the DetailTable from collapsing after the Cancel or Delete operation?

protected void radGridPeople_ItemCommand(object sender, GridCommandEventArgs e){ try { if (e.Item.OwnerTableView.Name == "PersonConditionGrid") { if (e.CommandName == RadGrid.EditSelectedCommandName) { e.Item.OwnerTableView.EditMode = GridEditMode.PopUp; e.Item.OwnerTableView.EditFormSettings.UserControlName = "PeopleMaint/PersonCondAction.ascx"; } } } catch (Exception ex) { ErrorHandler.WriteErrorLog(GenFunctions.CurrentUserName, System.Reflection.MethodBase.GetCurrentMethod().Name, ex); generalCustomValidator.ErrorMessage = ex.Message + "<br/>" + ex.StackTrace; generalCustomValidator.IsValid = false; }}

Hello Telerik Team,
I have used RadToolTip in my site extensively. Recently I have updated the Telerik version to “2012.2.724.35” and after that i am facing formatting issues related to RadToolTip.
Older Version we were using: 2011.1.519.35
New Version currently we are using: 2012.2.724.35
I have gone through on all release notes between the above two versions and as per the release note of “Q1 2012 (version 2012.1.215)” there is a improvement in default padding and/or margin to the content area and Tooltip title element for better UI and visualization. But these formatting improvements forced to changes the other controls position present inside the RadToolTip control since in the new Telerik version the RadToolTip captures the more padding space which minimize the actual content area where the other controls are present.
To resolve this issue I have to change many of the pages in our project but it takes huge time to do changes for all RadToolTip. Kindly suggest, is there any way to apply the older padding to RadToolTip or override the RadToolTip default padding?
Please suggest any workaround to get rid from these formatting issues.
Thanks,
Ashish