I need to load images after page load completed in ASP.Net without using JQuery.
Is it possible to implement this feature only using asp.Net 3.5 and ASP.Net AJAX? If it is then how to implement?
I need to load images after page load completed in ASP.Net without using JQuery.
Is it possible to implement this feature only using asp.Net 3.5 and ASP.Net AJAX? If it is then how to implement?
JayJay assumes that you want to do it after the server side Page_Load event but befor page is sent to client.
If you mean after page is loaded on the client, then you can use this ASP.NET Ajax code:
(It requires that you have a <asp:ScriptManager>
on the page to enable AJAX)
<script type="text/javascript">
var prm = Sys.WebForms.PageRequestManager.getInstance();
if(prm) prm.add_pageLoaded( PageLoadedEventHandler );
function PageLoadedEventHandler() {
// Do your stuff
}
</script>