1
Vote

How interact with ajax datalist control

description

I downloaded code for "AjaxDataControls" for datalist and implement also . but in my project i i have one link not in datalist and i want to interact in that datalist (loop in that datalist ) and want to fetch controls which are in datalist .
 
can anybody help me for that ?

comments

vijaynp04 wrote Jan 6, 2011 at 11:18 AM

do by follwing step
/// here dlstSearch datalist id
_dataList = $find('<%= dlstSearch.ClientID %>');

for (var i=0;i<_dataList._items.length;i++) // loop in datalist
{
var spnpostid =_dataList._items[i].findControl('spnid'); // here spnid span control in my datalist by this u can find all ur control
}

wrote Feb 14, 2013 at 3:04 AM