When you are using ASP.NET, the ajax updatepanel and jquery together, you can have some trouble with the jquery effects or widgets not working anymore. After making an asynchronous postback with the updatepanel the jquery will not work anymore if you have to initialise some stuff in the load of the page.
When making an asynchronous postback the load event of the page is not fired anymore, so the initialisation of the widget or event will not occur. There is a simple solution to this problem. Just put all initialisations in a javascript function. Call this javascript function from the load of your page and also the endrequest event of your PageRequestManager.
<script>
$(document).ready(function(){
initJQuery();
});
function initJQuery(){
//All inits for your jquery widgets/events
}
Sys.WebForms.PageRequestManager.getInstance().add_endRequest(initJQuery);
</script>
The end request event will occur when the asynchronous postback of the updatepanel is completed. The jquery objects will then be recreated, so that the jquery events still work perfectly.
