GridTableView gtv = new GridTableView(); gtv.AutoGenerateColumns = true; gtv.DataSource= BillMaterial.getSubParts(mp.PartNumber); gtv.DataBind(); RadGrid.MasterTableView.DetailTables.Add(gtv)';I have been using the Google based filtering example (http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandcombo/defaultcs.aspx?product=grid) to extend the GridDropDownColumn to support a RadComboBox rather than text filter. I am looking for a way to utilize the AutoCompleteSeperator to allow to multiple value selection. So the user could pick 3 items from the list and get a result set of any rows with any one of those columns set. Is this possible? My working code is bellow, it follows the Google example closely.
using System;using System.Collections.Generic;using System.Web;using Telerik.Web.UI;using System.Web.UI.WebControls;using System.Web.UI;/// <summary>/// Summary description for DDLColumn/// </summary>/// namespace DQCT.Controls{ public class DDLColumn : GridDropDownColumn { public DDLColumn() { } //RadGrid will call this method when it initializes the controls inside the filtering item cells protected override void SetupFilterControls(TableCell cell) { base.SetupFilterControls(cell); cell.Controls.RemoveAt(0); RadComboBox ddl = new RadComboBox(); ddl.ID = String.Format("_ddl{0}", this.UniqueName); //ddl.ShowToggleImage = false; ddl.EnableTextSelection = true; //ddl.Skin = "Office2007"; ddl.AutoPostBack = true; //ddl.AutoCompleteSeparator = ";"; ddl.MarkFirstMatch = true; ddl.Height = Unit.Pixel(100); ddl.DataTextField = this.ListTextField; ddl.DataValueField = this.ListValueField; ddl.DataSourceID = this.DataSourceID; ddl.SelectedIndexChanged += ddl_SelectedIndexChanged; cell.Controls.AddAt(0, ddl); cell.Controls.RemoveAt(1); } //RadGrid will cal this method when the value should be set to the filtering input control(s) protected override void SetCurrentFilterValueToControl(TableCell cell) { base.SetCurrentFilterValueToControl(cell); RadComboBox combo = (RadComboBox)cell.Controls[0]; if ((this.CurrentFilterValue != string.Empty)) { combo.SelectedValue = this.CurrentFilterValue; } } //RadGrid will cal this method when the filtering value should be extracted from the filtering input control(s) protected override string GetCurrentFilterValueFromControl(TableCell cell) { RadComboBox combo = (RadComboBox)cell.Controls[0]; return combo.SelectedValue; } //handler for selected index changed private void ddl_SelectedIndexChanged(object o, RadComboBoxSelectedIndexChangedEventArgs e) { GridFilteringItem filterItem = (GridFilteringItem)((RadComboBox)o).NamingContainer; filterItem.FireCommandEvent("Filter", new Pair("EqualTo", this.UniqueName)); } }}
<telerik:RadGrid ID="DR_Low_RadGrid" runat="server" AllowPaging="false" AllowSorting="True"
AutoGenerateColumns="true" GridLines="None" PageSize="14" Width="900px" Skin="Office2007"
OnNeedDataSource="DR_Low_RadGrid_NeedDataSource" OnItemDataBound="DR_Low_RadGrid_ItemDataBound"
Height="380px">
<GroupingSettings CaseSensitive="false" />
<AlternatingItemStyle Font-Names="verdana" Font-Size="10px" />
<ItemStyle Font-Names="verdana" Font-Size="10px" HorizontalAlign="Left" />
<HeaderStyle Font-Bold="true" Font-Names="Verdana" Font-Size="10px" ForeColor="Black"
HorizontalAlign="Center" />
<MasterTableView AutoGenerateColumns="true" DataKeyNames="Geography" Width="899px"
NoMasterRecordsText="No low case data found." NoDetailRecordsText="No low case data found."
PagerStyle-EnableSEOPaging="false" PagerStyle-Mode="Slider">
<PagerStyle EnableSEOPaging="false" Mode="Slider" />
</MasterTableView>
<ClientSettings>
<Scrolling AllowScroll="true" SaveScrollPosition="true" UseStaticHeaders="true" FrozenColumnsCount="1"
EnableVirtualScrollPaging="false" />
</ClientSettings>
<PagerStyle Mode="NumericPages" />
</telerik:RadGrid>

I have implemented a RadListBox that utilizes the reorder and delete functionality provided by AllowReorder and AllowDelete. It worked fine until I also began to use the ItemTemplate functionality to create list items as hyperlinks (thanks to some fantastic help from Genady in this forum).
When the listbox first appears, everything is fine. The list items are hyperlinks. If I click off to the side of one of the list items (so the hyperlink is not fired, but the item is selected), and then click either the Move Up or the Move Down button, the item is moved up or down as it should be but, an additional item, with the same name, is added to the list and it is NOT a hyperlink. So, after the Move up or Move down action I have two instances of the selected item in the list. One is a hyperlink and one is not.
As a work-around, I have been experimenting with using the client-side API to handle the reorder and delete functionalty, per the examples on this site. But, that will open up another can of worms, and I would rather avoid doing that.
Has anyone else experienced problems with AllowReorder when using an ItemTemplate to customize the display?
Thanks for any advice you can give.
UPDATE: I used the onClientReordered event to trap the event in an attempt to remove the "additional", non-hyperlink item that was
"added" to the list. When I did this, both items were removed from the list. So, I think that an item wasn't actually added when the Move UP or Move Down buttons are used but, the single item is displaying regular text along with the hyperlink after it is moved in the list. I thought this might be helpful information.

RadGrid using Webservice binding with clientside cache but not export data.(Xls,csv)
This is my code:
<telerik:RadGrid ID="RadGrid2" AllowSorting="true" AllowPaging="true"AllowFilteringByColumn="true" AutoGenerateColumns="false" runat="server"> <MasterTableView CommandItemDisplay="Top"> <CommandItemSettings ShowExportToCsvButton="True" ShowExportToExcelButton="True" /> <Columns> <telerik:GridBoundColumn DataField="Id"HeaderText="Id" /> <telerik:GridBoundColumn DataField="Name"HeaderText="Name" /> </Columns> <PagerStyle AlwaysVisible="True"></PagerStyle> </MasterTableView> <PagerStyle AlwaysVisible="true" /> <ClientSettings> <DataBinding Location="~/mywebservice.asmx" EnableCaching="true" SelectMethod="GetFacilityListCH" /> </ClientSettings> </telerik:RadGrid>