Bhupendra Rana

Bhupendra Rana

  • NA
  • 2
  • 23.6k

Issue: ATLAS.NET with Startupscript

May 1 2007 6:09 AM

I have a update panel on my page.
There is a asp:button in my panel.
On the click of that button, I want to register a StartupScript for the page. So as when the page renders again, that script gets executed.
But I am not able to execute the startupscript on partial page rendering.
the same works fine if the button is out of update panel.

I think this is because, during partial page rendering Load of body is not being called. and so, the script is not getting executed.

Please suggest the way to register such startupscript for the AJAX enabled page.

Thank you,