GridDropDownColumn item

4 posts, 0 answers
  1. bEnDi
    bEnDi avatar
    26 posts
    Member since:
    Sep 2008

    Posted 22 Oct 2008 Link to this post

    Hi,

    Is there a way where GridDropDownColumn item is filter by another GridDropDownColumn in the same gridview but different column???
  2. Plamen Peshev
    Admin
    Plamen Peshev avatar
    886 posts

    Posted 22 Oct 2008 Link to this post

    Hello Lendi,

    You can use SortExpression. The SortExpression represents a filed-name from the DataSource that should be used when grid sorts by this column. Here is an example:

                    <MasterTableView> 
                        <Columns> 
                            <telerik:GridBoundColumn SortExpression="Column_1" DataField="Column_0" UniqueName="Column_0"
                            </telerik:GridBoundColumn> 
                            <telerik:GridBoundColumn SortExpression="Column_0" DataField="Column_1" UniqueName="Column_1"
                            </telerik:GridBoundColumn>                         
                        </Columns> 
                    </MasterTableView> 



    Kind regards,
    Plamen
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. bEnDi
    bEnDi avatar
    26 posts
    Member since:
    Sep 2008

    Posted 22 Oct 2008 Link to this post

    Hi Plamen,

    I  have try it out but no luck. I get the error : DataBinding: 'System.Data.DataRowView' does not contain a property with the name 'UseCases'.

    Practically i don't understand how it work. Is there a working sample or can you guide me with a working sample for this?

    Thanks.
  5. John
    John avatar
    416 posts
    Member since:
    Oct 2006

    Posted 27 Oct 2008 Link to this post

    hi Lendi :)


    Please review the following help article:

    http://www.telerik.com/help/aspnet-ajax/grdoperatewithfilterexpression.html


    Regards...
    <John:Peel />




Back to Top