I have a RadGrid which is binded with a data table. I want to apply filter on two columns only.. everything is to be done programmatically because its columns are not statically defined. Can you please suggest how can I apply filtering on two columns of such a radgrid??
In order to achieve this attach ColumnCreated event to your RadGrid and enable filtering for required columns. Here is the sample code that I tried. Hope this helps you.
Thank you Princy for your prompt reply. The solution was perfect. There is one small thing.. when I filter one column and then erase the filter keywords and try to filter another column, whatever I enter does not show up in the text box of the filter.. what could be possibly wrong?