There are numerous posts on this topic but I can't find one that addresses my exact problem.
I have a client side javascript function called "ScrollTo()" which I call from my code behind as follows:
If (Not ClientScript.IsStartupScriptRegistered("alert")) Then
Page.ClientScript.RegisterStartupScript(Me.GetType(), "alert", "ScrollTo('divSaveInsuredInfoButton');", True)
End If
I call this after performing code to save data. The last step is to call this so the screen scrolls down to the next section on the screen.
This works perfectly the first time I execute it (although I'm not certain, based on other posts I've read it's even in the correct format).
Once the user enters data from the second section and clicks another save button I save that data and then make this call again only passing a different parameter:
If (Not ClientScript.IsStartupScriptRegis ...
Go to the complete details ...