Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

javascript/jQuery on repeater itemDataBound within updatepanel not working after postback

$
0
0

Phew! The title of this thread is a bit long, but that's the problem in a nutshell.

Basically I have multiple javascripts which I'm registering using Page.ClientScript.RegisterClientScriptBlock on itemDataBound for the repeater. The repeater is within an updatepanel. On initial page load the javascript works, but doesn't after a postback. I've had this problem before and I understand why the javascript doesn't work but for the life of me I can't remember how to fix it.

I can't use pageLoad() as I have multiple scripts I need to register.

Any ideas? All help would be appreciated.

Thanks,
Matt 


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>