Solved

How to send to an anchor ?

Posted on 2010-09-17
6
386 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

Suggested Solutions

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…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
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…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

756 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