|
-
Feb 5th, 2003, 11:42 AM
#1
Thread Starter
Frenzied Member
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...
-
Feb 10th, 2003, 12:45 PM
#2
Member
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
-
Feb 10th, 2003, 01:12 PM
#3
Thread Starter
Frenzied Member
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|