This is a migrated thread and some comments may be shown as answers.

GridDropDownColumn item

3 Answers 71 Views
Grid
This is a migrated thread and some comments may be shown as answers.
bEnDi
Top achievements
Rank 2
bEnDi asked on 22 Oct 2008, 05:25 AM
Hi,

Is there a way where GridDropDownColumn item is filter by another GridDropDownColumn in the same gridview but different column???

3 Answers, 1 is accepted

Sort by
0
Missing User
answered on 22 Oct 2008, 08:21 AM
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.
0
bEnDi
Top achievements
Rank 2
answered on 23 Oct 2008, 01:12 AM
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.
0
plamen
Top achievements
Rank 1
answered on 27 Oct 2008, 01:56 PM
hi Lendi :)


Please review the following help article:

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


Regards...
<John:Peel />




Tags
Grid
Asked by
bEnDi
Top achievements
Rank 2
Answers by
Missing User
bEnDi
Top achievements
Rank 2
plamen
Top achievements
Rank 1
Share this question
or