G
Guest
I have a datalist (DataList1)...
with an itemtemplate...
then a table - server side (Table1)...
then another datalist (DataList2)...
another itemtemplate...
another table - server side (Table2)
DataList1 is bound to an objectdatasource (ObjectDataSource1), and has a
datakey (CategoryId). I want to bind DataList2 to another objectdatasource
(ObjectDataSource2), pulling records based on DataList1's datakey
(CategoryId).
I've set everything up, but when i run the page only DataList1 appears to
databind. Table1 renders out, but DataList2 never seems to databind.
I'm trying to do everything declaritively, is that possible? If so, what am
I doing worng?
Thanks
with an itemtemplate...
then a table - server side (Table1)...
then another datalist (DataList2)...
another itemtemplate...
another table - server side (Table2)
DataList1 is bound to an objectdatasource (ObjectDataSource1), and has a
datakey (CategoryId). I want to bind DataList2 to another objectdatasource
(ObjectDataSource2), pulling records based on DataList1's datakey
(CategoryId).
I've set everything up, but when i run the page only DataList1 appears to
databind. Table1 renders out, but DataList2 never seems to databind.
I'm trying to do everything declaritively, is that possible? If so, what am
I doing worng?
Thanks