Author: -_- | Posted on: 11/2/2009 9:56:06 PM | Views : 744


  function GetRowIdex(row,index,field) {  
         
             alert(field);
         
             
         
         }  

ondblclick="GetRowIdex(this,<%#Container.ItemIndex+1 %>,<%# DataBinder.Eval(Container.DataItem,"Field_1").ToString()  %>)"

where the Field_1 is in the repeater:
assume there is 3 records in the repeater
field 1:
1. 123
2. abc123
c. ddd

i can only pass the first record value "123" to javascript and alert that value
but when i double click the record either "abc123" or "ddd", there is an error: "abc123& ...

Go to the complete details ...