-
postback
is there a way to make a page postback...something like me.postback? I have validation controls and if a user gets an error message on the top of the page I want to bring them back to the top of the page. The way I have it now, they stay on the bottom of the page where the submit button is and are unaware that an error message is present...
-
Every page has a "Page_Error" event associated with it. Maybe write the approriate code inside that Page_Error handler? Here's what the hanlder looks like:
Private Sub Page_Error(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Error
Let us know if that helps...
Ooogs
-
I ended up using the ValidationSummary control, which fixed the problem I was having...I'll try using the error event handler the next time....thanks