This project is read-only.

How interact with ajax datalist control


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 ?


vijaynp04 wrote Jan 6, 2011 at 12:18 PM

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 4:04 AM