If you are using ASP.NET Ajax, you can add a load handler to your content page:
Sys.Application.add_load(contentPageLoadHandler);
function contentPageLoadHandler() {
}
Using this approach, each page of content or even each control can configure its own load handler. See this page for more details .
Alternatively, if you use jQuery, you can achieve the same using this approach (on your content page):
$(document).ready(function() {
});
. .