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

Multiple DropDownColumn linked in Edit Mode.

1 Answer 62 Views
Grid
This is a migrated thread and some comments may be shown as answers.
ERWAN LE BIHAN
Top achievements
Rank 1
ERWAN LE BIHAN asked on 21 Jul 2011, 01:43 PM
Hi.
I'm trying to get this scenario and can't get it working.
My Radgrid is bounded to a LinQDatasource.
In edit or insert mode, I need to filter each DropDownColumn with the values of previous one
(DropDown 1: Family, DropDown2 (Part Number), DropDown3 (Description) etc...)
So, in my DataSource, i have several tables (Family, Parts....), linked by hard links.
I have already managed to get all the DropDownColumn correctly populated, each with a different DS.

My problem is that I can't get the value of the first dropdown column to get only the good rows from the second datasource.

There is no ControlID on the GridDropDownColumn, so I can't use it in the controlParameter.

Should I use the selected event of the LinQDataSource to filter the results ?

Thanks in advance.

1 Answer, 1 is accepted

Sort by
0
ERWAN LE BIHAN
Top achievements
Rank 1
answered on 21 Jul 2011, 03:12 PM
Ok.
Hum... How do you say "Read the Fucking Manual" in Bulgarian ???? 8-))

So:
- take the itemCreatedEvent
- add an selectedIndexChanged handler to the control
- do whatewer you need in the sub handling the handler.




Tags
Grid
Asked by
ERWAN LE BIHAN
Top achievements
Rank 1
Answers by
ERWAN LE BIHAN
Top achievements
Rank 1
Share this question
or