hi this is kavita
I have done custom paging and create linkbutton according to index change. I want to call a javascript function on clicking on paging but it don't. can anyone help me.I m using ajax and gridview is in updatepanel and paging is on footer. if i call javascript like this
result_view.Attributes.Add("onclick", "return pLoad()")
then on clicking anywhere in grid function is call I want only clicking on paging.
any suggestion?
thanks
Call javascript function in grid footer
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Mahesh Joshi70 pointsPosted Sep 3, 2007, 7:27 AM EDT
You are adding Attribute to wrong control. Add this Attribute to your LinkButton like LInkButton1.Attributes.Add("onclick", "return pLoad()")