or
| _grid.SelectedIndexes.Add(_editedItem.ItemIndex) |
public class TestTabTpl : ITemplate{ public void InstantiateIn(Control container) { // TODO: Implement this method Label lblCtrl = new Label(); lblCtrl.Text = "Text message"; container.Controls.Add(lblCtrl); }}protected void Page_Load(object sender, EventArgs e){ foreach (RadTab tab in RadTabStrip1.Tabs) { tab.TabTemplate = new TestTabTpl(); }}protected void Page_Load(object sender, EventArgs e){ foreach (GridBoundColumn col in RadGrid1.Columns) { col.FilterTemplate = new TestTabTpl(); }}<td class="rightCell" style="width: 130px;"> <telerik:RadComboBox ID="cmboSize1" Width="240px" Height="300px" runat="server" AutoPostBack="false" DataTextField="SIZE_1_DESC" DataValueField="SIZ_1_CDE" EnableLoadOnDemand="true" HighlightTemplatedItems="true" AllowCustomText="true" OnClientKeyPressing="HandleKeyPress"> <ItemTemplate> <div onclick="StopPropagation(event)"> <asp:CheckBox runat="server" ID="chk1" Checked="false" /> <asp:Label runat="server" ID="Label1" AssociatedControlID="chk1" Text='<%# Eval("SIZE_1_DESC") %>'> </asp:Label> </div> </ItemTemplate> <Items> <telerik:RadComboBoxItem Text='<%# Eval("SIZE_1_DESC") %>' /> </Items> </telerik:RadComboBox> </td> <td class="leftCell" style="width: 18px;"> <asp:ImageButton ID="btnSize1Add" runat="server" ToolTip="Add" ImageUrl="~/App_Themes/BlueBT2009/Images/Add.gif" /> </td>