Skip to main content

Ajax Page Load

There is a quick way to ensure that a function is processed every time a page load or a refresh happens in the ASP.NET Ajax world.

Just call the pageLoad method  - a client side function that the framework uses:
 

function pageLoad()
{ 
    alert ('The page just loaded') 
} 
 
QED 

Comments