Solved

How to send to an anchor ?

Posted on 2010-09-17
6
380 Views
Last Modified: 2012-05-10
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 ?
0
Comment
Question by:dimensionav
  • 3
  • 2
6 Comments
 
LVL 3

Expert Comment

by:jkurzner
ID: 33705259
0
 

Author Comment

by:dimensionav
ID: 33705293
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
 
LVL 3

Accepted Solution

by:
rgeers earned 500 total points
ID: 33705357
output something like:

<meta http-equiv="refresh" content="2;url=http://test.com/bob.html#anchor1/">
0
Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

 

Author Comment

by:dimensionav
ID: 33708779
rgeers:

I need that the refresh will be conditioned to if page is invalid, after checking some required field validator controls.
0
 
LVL 3

Expert Comment

by:rgeers
ID: 33720044
output it only after you do the condition checks in you asp page
0
 

Author Closing Comment

by:dimensionav
ID: 33721238
Thanks!
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question