Solved

How to send to an anchor ?

Posted on 2010-09-17
6
345 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
Comment Utility
0
 

Author Comment

by:dimensionav
Comment Utility
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
Comment Utility
output something like:

<meta http-equiv="refresh" content="2;url=http://test.com/bob.html#anchor1/">
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Author Comment

by:dimensionav
Comment Utility
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
Comment Utility
output it only after you do the condition checks in you asp page
0
 

Author Closing Comment

by:dimensionav
Comment Utility
Thanks!
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

762 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now