filter expression for grid

2 posts, 0 answers
  1. Jiju
    Jiju avatar
    57 posts
    Member since:
    Jul 2011

    Posted 13 Dec 2012 Link to this post

    In my page, i use a rad grid, which creates programatically by adding gridboundcolumns, and to filter the columns i use a rad filter.
    I use the grid to bind different data source to display the contents. when i set the data source to this grid , it displays the header text in filter expression. and when i change the datasource to another, the filter expression changes to the new header texts.
    The datafield of one column in first datasource is same as the datafield of second. so when displaying the grid with first datasource, the filter expression is same as the header text but when binding the second datasource, because of using the same datafield mentioned in first datasource, the header text which is used in first datasource is showing in the filter expression.
    how can i display the header text of second datasource in the filter expression.

    thanks in advance
  2. Eyup
    Eyup avatar
    4071 posts

    Posted 18 Dec 2012 Link to this post

    Hello Jiju,

    The following thread explains how to use the grid filter expressions:

    I hope this will prove helpful.

    Kind regards,
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top