Hi,
I have a RadGrid with a GridTemplateColumn that has a label inside it. This label is populated after the initial datatable is bound to the grid.
Is there any way that I can filter on the contents of this label without having it in my initial datatable?
Here is my template column
<telerik:GridTemplateColumnAllowFiltering="true"HeaderText="Type(s)"UniqueName="column10" AutoPostBackOnFilter="true"ShowFilterIcon="false"> <ItemTemplate> <asp:LabelID="LocationTypeLabel"runat="server"></asp:Label> </ItemTemplate></telerik:GridTemplateColumn>This is how I populate the label. The datatable _dtTypes is actually the second table returned in the dataset whereas the first table is the datasource of the grid.
ForEachdr AsDataRow In_dtTypes.Select("CustomerID = "& e.Item.DataItem("CustomerID")) lbl.Text = lbl.Text & dr("LocationType") & ", "Next