Skip to content

Call javascript function in grid footer

kavita

Asked Aug 30, 2007, 3:36 AM EDT1 answer
Share
LinkedInX
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

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • 0

    You are adding Attribute to wrong control. Add this Attribute to your LinkButton like LInkButton1.Attributes.Add("onclick", "return pLoad()")

    0