This is a migrated thread and some comments may be shown as answers.

AJAX Filtering using a RadComboBox in Insert mode

1 Answer 14 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mike West
Top achievements
Rank 1
Mike West asked on 30 Jun 2010, 10:35 PM
I've got a RadGrid that uses the basic inline insert and update functionality combined with RadComboBoxes for many of my fields in the EditItemTemplates. I want to combine my solution with the "Grid / Google-like Filtering" example that's posted at: http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandcombo/defaultcs.aspx?product=grid.

What I want to happen is an AutoPostBack when the selected item is changed in the postback that filters the table based on the "Company" chosen. I want this done using AJAX as in the example. The end result would be a hybrid of the example in the link above that includes TWO modes for the CustomFilteringColumn. If Inserting/Updating, I want the RadComboBox to display. If just viewing, I simply want a basic bound field to show. 

I've spent the past day struggling. Does anyone have any pointers?

1 Answer, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 06 Jul 2010, 07:58 AM
Hi Mike,

For this setup, you can use a standard filter template, and specify the visibility, based on the mode of the control - standard/insert/edit:

http://demos.telerik.com/aspnet-ajax/grid/examples/programming/filtertemplate/defaultcs.aspx

I hope that this is a feasible approach for you.

Kind regards,
Yavor
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Grid
Asked by
Mike West
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Share this question
or