ASP.NET Register Script After Partial Page Postback (UpdatePanel)
I have a simple form (textbox, submit button) which is wrapped in an update panel. <asp:UpdatePanel ID="ReplyUpdatePanel" UpdateMode="Conditional" runat="server"> <ContentTemplate> <asp:Textbox id="ReplyTextBox" runat="server"/> <asp:Button id="SubmitButton" OnClick="SubmitButton_Click" runat="server"/> <ContentTemplate> </asp:UpdatePanel> So, when i click the button, the server-side click event is fired (SubmitButton_Click), stuff happens to the db, and the page is re-rendered (asynchronously). Here's my issue - i need to execute some JavaScript after all the "stuff happens to the db". In