473,396 Members | 1,815 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

How to: programatically navigate to a URL (really an anchor)

I'm using the calendar control, and when the user clicks on a date, I want
to "scroll down" to an anchor defined for that date. I'm OK with catching
the click on the date, but I can't figure out how to programatically
navigate to a URL. I know this must be simple, but I can't find out how to
do it.

Thanks,

Dan
Nov 18 '05 #1
3 1677
Hello Dan,

Response.Redirect("http://www.vbaspcoder.com");

Will it not do that?
I'm using the calendar control, and when the user clicks on a date, I
want to "scroll down" to an anchor defined for that date. I'm OK with
catching the click on the date, but I can't figure out how to
programatically navigate to a URL. I know this must be simple, but I
can't find out how to do it.

Thanks,

Dan

Nov 18 '05 #2
Maybe I wasn't clear. When I click on the date 29 I want to make it scroll
down to an anchor I've defined somewhere on the page (say, call it
Anchor29). So, no, it doesn't do that by default.

Dan

"Hayato Iriumi" <hi*****@hotmail.com> wrote in message
news:19*********************@news.microsoft.com...
Hello Dan,

Response.Redirect("http://www.vbaspcoder.com");
Will it not do that?
I'm using the calendar control, and when the user clicks on a date, I
want to "scroll down" to an anchor defined for that date. I'm OK with
catching the click on the date, but I can't figure out how to
programatically navigate to a URL. I know this must be simple, but I
can't find out how to do it.

Thanks,

Dan


Nov 18 '05 #3
All I had to do is get the httprequest object and then use the redirect
function.

Dan

"Dan Hinsley" <da***@exmsft.com> wrote in message
news:uA**************@TK2MSFTNGP09.phx.gbl...
Maybe I wasn't clear. When I click on the date 29 I want to make it
scroll down to an anchor I've defined somewhere on the page (say, call it
Anchor29). So, no, it doesn't do that by default.

Dan

"Hayato Iriumi" <hi*****@hotmail.com> wrote in message
news:19*********************@news.microsoft.com...
Hello Dan,

Response.Redirect("http://www.vbaspcoder.com");
Will it not do that?
I'm using the calendar control, and when the user clicks on a date, I
want to "scroll down" to an anchor defined for that date. I'm OK with
catching the click on the date, but I can't figure out how to
programatically navigate to a URL. I know this must be simple, but I
can't find out how to do it.

Thanks,

Dan



Nov 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: batham | last post by:
Hello Gurus, Can someone direct me to the right path. Using C# to create a web service, how can I programatically log in a web site (with a valid username and password) and navigate to a...
2
by: hzgt9b | last post by:
Using Visual studio 2003 and VB.NET, I want to programatically position a control (windows media player) on my form. For example, I want to position the control in 1 of 9 locations: topLeft,...
2
by: Dave Bootsma | last post by:
Is it possible to programatically save a certain image from a certain web page? I want to automatically get a specific graphic from a specific web page programatically so I can automate the...
3
by: larry mckay | last post by:
I'm trying to programatically print the content that is rendered in an internet explorer control. if do webbrowser.navigate ("http://www.yahoo.com") the content of the webpage appears in the...
3
by: gary | last post by:
Hi, I am trying to reference an anchor in a user control with a url. This worked in 1.1 but no longer works in 2.0. The ascx control is located in a "/include" folder If you have a...
0
by: Prabhupl | last post by:
Hi Can u tell me that how to navigate one page to another page by using the control while click image button(not by using any anchor or hyperlink etc). while clicking the image button i need to...
2
by: Ryan Ramsey | last post by:
I have been chasing this one down for a week and have narrowed it down to a machine issue. I have the following code: webBrowser.Navigate(http://finao.net/post_dkp.php?database=40); Basically...
3
by: milton | last post by:
hi how to navigate through the records in sql DB programatically...?
5
by: deegeorge | last post by:
Hi, I am creating a help document in asp.net.In that first i am giving the contents as links using anchor tag. When i am clicking one of the link it need to navigate to the corresponding...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.