Javascript update before page loads in ASP.NET
<p>I'm trying to update values from a xml file into textboxes. I have this javascript being called in the Page_Load event</p>

<pre><code>this.Page.ClientScript.RegisterStartupScript(this.GetType(), "Script", sb.ToString(), true);
</code></pre>

<p>I click the continue button which does a post back but the values are not updated until I refresh the page again which makes me think the js isn't being run until after the page is returned. I'm wondering how to have the values updated when the page is refreshed after the button postback.</p>

<p>thanks</p>
