I have 2 link button in my page and every thing was working fine until i added window.onload() method on my page.

After adding window.onload() first link button is working but not the second button. I am using update panel in my page


Please help me

Code:
<script>
function PageTest() { //do some task}

window.onload = PageTest;

</script>

<asp:UpdatePanel
...