How to send to an anchor ?

HI

After checking if a Page is valid I need to send the focus to a specific area of the reloaded page, I wonder if an anchor could do this.

Would you mind bring an example ?
dimensionavAsked:
Who is Participating?
 
rgeersConnect With a Mentor Commented:
output something like:

<meta http-equiv="refresh" content="2;url=http://test.com/bob.html#anchor1/">
0
 
jkurznerCommented:
0
 
dimensionavAuthor Commented:
Sorry, I haven´t found any anchor ASP.net control, is there any other option ?

How do you use that code in a postback like this:

        If Not Page.IsValid Then
            ' Here should be the requested code
        End If
0
Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

 
dimensionavAuthor Commented:
rgeers:

I need that the refresh will be conditioned to if page is invalid, after checking some required field validator controls.
0
 
rgeersCommented:
output it only after you do the condition checks in you asp page
0
 
dimensionavAuthor Commented:
Thanks!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.