GridView Postbacks

J

jack

Hi,
I need to call a javascript function, on every postback that the
gridview makes. Is there anyway to do this?

Thanks.
Jack
 
P

Peter Bucher [MVP]

Hi Jack
I need to call a javascript function, on every postback that the
gridview makes. Is there anyway to do this?
The ussal way to hook into the GridView Methods is not passable.

An approach could be, if you hook into the form.onsubmit event with
javascript
and execute there some finishing code.
Informations over the current Arguments, etc... can be found within the
ASP.NET generated Hiddenfields (Access througt Javascript).

HTH
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,066
Latest member
VytoKetoReviews

Latest Threads

Top