This question is locked. New answers and comments are not allowed.
Hi
well am trying to perform filtering with custom paging ....I have a RadGridView with a custom paging control ..The problem occuring is that when i chose a filter criteria using the built in filtering mechanism and navigate to another page using the custom pager the paginf doesnt work properlt neither does the filtering when i return to th eprevious page i cant Clear the Filter ....
I tried to use behaviours in order to populate the Custom Paging Control and the RadGridView with the Filtered DataSource ...But the problem is that the grid is rendered Dynamically so the Behaviour is not working well
I tried this
But The event is not getting fired ...Here i eas just trying to close the Filtering pop up when am trying to Filter ....Any Ideas
well am trying to perform filtering with custom paging ....I have a RadGridView with a custom paging control ..The problem occuring is that when i chose a filter criteria using the built in filtering mechanism and navigate to another page using the custom pager the paginf doesnt work properlt neither does the filtering when i return to th eprevious page i cant Clear the Filter ....
I tried to use behaviours in order to populate the Custom Paging Control and the RadGridView with the Filtered DataSource ...But the problem is that the grid is rendered Dynamically so the Behaviour is not working well
I tried this
foreach (var item in ViewInfoList)
{
dtGrid.Columns.Add(
new DataColumn() { ColumnName = item.ColumnName, DataType = MapColumnTypes(item.DataType.ToLowerInvariant()) });
GridViewDataColumn col = new GridViewDataColumn();
col.Header = item.ColumnName;
if (item.ColumnName == "RowIndex" || item.ColumnName == PrimaryKeyName)
{
col.IsVisible =
false;
}
BehaviorCollection Behaviors = Interaction.GetBehaviors(col);
Behaviors.Add(
new CustomFilter());
col.SetValue(
Interaction.BehaviorsProperty, Behaviors);
gCols.Add(col);
}
But The event is not getting fired ...Here i eas just trying to close the Filtering pop up when am trying to Filter ....Any Ideas