Hi,
Iam populating data in datalist control, it show multiple records from database
for the iam using item template of datalist control
that datalist display will be like long thread so i want to minimize and maximize the each populated record of datalist
is it possible to minimize and maximize the datalist control each record
i don't want the paging of datalist
Can we minimize and maximize the records in a datalist like ajax accordian
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

SenthilkumarRank #387 · 6.5K reputationPosted Mar 29, 2012, 3:21 AM EDT
You can do that.
Every row you need to add the button with +. If it is + then click on that you need to replace - symbol.
when every you click on that button you need to identify the row and then
you need to do the following.
Hide:
document.getElementById('tr1').style.display='none';
Show:
document.getElementById('tr1').style.display='';
At the same time you are showing and hiding the right image.