Hello,
I have created a custom inherited RadGrid that I am using to set certain grid functionality such as filtering on key stroke.
I am using the following code in the inherited grid to accomplish this:
The AutoPostBackOnFilter property is recognized, but the filters always default to "Contains". It appears that the CurrentFilterFunction property is ignored.
I would like to set the CurrentFilterFunction to "StartsWith" for each filter column for the custom RadGrid AutoPostBack filtering.
Is there a way to do this?
Thanks,
Jon
I have created a custom inherited RadGrid that I am using to set certain grid functionality such as filtering on key stroke.
I am using the following code in the inherited grid to accomplish this:
| protected override void OnInit(EventArgs e) |
| { |
| base.OnInit(e); |
| // filter when clicking enter |
| foreach (GridColumn col in this.Columns) |
| { |
| col.CurrentFilterFunction = GridKnownFunction.StartsWith; |
| col.AutoPostBackOnFilter = true; |
| } |
| } |
The AutoPostBackOnFilter property is recognized, but the filters always default to "Contains". It appears that the CurrentFilterFunction property is ignored.
I would like to set the CurrentFilterFunction to "StartsWith" for each filter column for the custom RadGrid AutoPostBack filtering.
Is there a way to do this?
Thanks,
Jon