Conditional drilldown in DataList

B

Barry

Hi,

I have a drilldown report using a DataList. When an item is selected, a
new DataList is displayed with the details of the selected item. The new
list displays one item with several fields and they're displayed
vertically. Eveything works very well so far.

It looks like this:

Item1
Item2
SelectedItem
DetailField1
DetailField2
DetailField3
Item3

Now I want the ability to do a drilldown to the next level of detail by
clicking on one of the DetailItems in the second DataList. The next
resulting level of detail will be different(have different fields/items)
based on which DetailField was selected. What I cannot figure out is
how to change the template of the selected item based on which one was
selected. Do I need to build the template on the fly?

Thanks in advance.
 
C

Chad

I have just suffered through this recently too ... They
way I got around it was to place the nested dataList
within <div visible=false id="div1"> tags and then when
the expand ItemCommand is clicked you set the
div1.visible=true
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,263
Messages
2,571,062
Members
48,769
Latest member
Clifft

Latest Threads

Top