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

    Hi,
    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
    Jiju
  2. Eyup
    Admin
    Eyup avatar
    3015 posts

    Posted 18 Dec 2012 Link to this post

    Hello Jiju,

    The following thread explains how to use the grid filter expressions:
    http://www.telerik.com/help/aspnet-ajax/grid-operate-with-filter-expression-manually.html

    I hope this will prove helpful.

    Kind regards,
    Eyup
    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top