Is there a way to make the filter work with text entered for a RadGrid GridDropDownList and respect the lookup values (ie a databound lookup) for ListTextField instead of the numeric ID?
Also, similar question: When a GridDropDownList column is grouped in RadGrid, the ID is displayed in the group header instead of the databound ListTextField value. So it shows xxx: 1830 instead of xxx: Bob Smith ?
Also, similar question: When a GridDropDownList column is grouped in RadGrid, the ID is displayed in the group header instead of the databound ListTextField value. So it shows xxx: 1830 instead of xxx: Bob Smith ?
6 Answers, 1 is accepted
0
Hello Rob,
Straight to your questions:
I hope this helps.
Regards,
Mira
the Telerik team
Straight to your questions:
- Please follow this help topic in order to implement filtering By ListTextField for GridDropDownColumn.
- I suggest that you customize the GridGroupHeaderItem as it is explained here and make it display the desired value.
I hope this helps.
Regards,
Mira
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
0

Rob
Top achievements
Rank 1
answered on 16 Apr 2011, 08:25 PM
Thanks for that. It works except that the filter popup menu pops up over my custom popup filter as seen in the attached screenshot. How can I make the second menu not popup?
0

Rob
Top achievements
Rank 1
answered on 16 Apr 2011, 11:01 PM
Also, on item 2, for displaying groupings correctly for foreign key columns, I cannot extrapolate from your example in the link as to how to accomplish this.
Your example seems to set as default a grouping and then the code assumes that this is always the grouping. In my grids, there is no default grouping, but the user can drag and drop any column to make a "group by". I then need to check the column name, determine if it is a foreign key column, and then display it appropriately.
For example,
COL1 = RowID
COL2 = Name
COL3 = RowCategoryID (FK)
COL4 = Classification
They might group by col 3 or col 4.
In my RadGrid1_ItemDataBound() method, how do I determine which COLUMN is being grouped so that I can customize the display appropriately... ?
Your example seems to set as default a grouping and then the code assumes that this is always the grouping. In my grids, there is no default grouping, but the user can drag and drop any column to make a "group by". I then need to check the column name, determine if it is a foreign key column, and then display it appropriately.
For example,
COL1 = RowID
COL2 = Name
COL3 = RowCategoryID (FK)
COL4 = Classification
They might group by col 3 or col 4.
In my RadGrid1_ItemDataBound() method, how do I determine which COLUMN is being grouped so that I can customize the display appropriately... ?
0
Hello Rob,
In order to implement the desired functionality, I recommend that you follow the Customizing GridGroupHeaderItem help topic. You can access the DataItem of GridGroupHeaderItem, which is always of type DataRowView and contains all the columns that represent fields from the GridGroupByExpression for the group. These include both the fields that are included in the SelectFields collection and the fields that are included in the GroupByFields collection.
I hope this helps.
Kind regards,
Mira
the Telerik team
In order to implement the desired functionality, I recommend that you follow the Customizing GridGroupHeaderItem help topic. You can access the DataItem of GridGroupHeaderItem, which is always of type DataRowView and contains all the columns that represent fields from the GridGroupByExpression for the group. These include both the fields that are included in the SelectFields collection and the fields that are included in the GroupByFields collection.
I hope this helps.
Kind regards,
Mira
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0

Rob
Top achievements
Rank 1
answered on 21 Apr 2011, 04:06 PM
Thanks but I have done that and that is why I am getting a second popup menu (your auto-generated popup filter menu) over my FilterTemplate RadComboBox as seen in the attached screenshot. The FilterTemplates all work perfectly except that your menu pops up over my RadComboBox and I need to turn your popup filter menu off. See attached screenshot
0
Hello Rob,
Our system indicates that you have opened a support ticket concerning the same issue. In order to avoid duplicate posts, I suggest that we continue the communication in the support ticket.
Regards,
Mira
the Telerik team
Our system indicates that you have opened a support ticket concerning the same issue. In order to avoid duplicate posts, I suggest that we continue the communication in the support ticket.
Regards,
Mira
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.