473,804 Members | 3,462 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Differences/best way to navigate thru pages

Hello,

How are the following ways to navigate the site different?
Why are there so many to do the same thing?
Which one is best to follow?

window.href.loc ation = "..."
Server.Transfer ("...")
Response.Redire ct("...")

Thanks in advance,

Rick
Jun 27 '07 #1
2 1467
On Jun 28, 3:46 am, Richard <Rich...@discus sions.microsoft .comwrote:
Hello,

How are the following ways to navigate the site different?
Why are there so many to do the same thing?
Which one is best to follow?

window.href.loc ation = "..."
Server.Transfer ("...")
Response.Redire ct("...")

Thanks in advance,

Rick
Hi...

window.herf.loc ation is by using javascript... is good ...
if you dont want to acomplish any job before naviating to other
location..
if you do want to perform some operation before navigation then
response.redire ct is good...
because it happens in server... and so you have whole page life cycle
before client control event fires...
well server. transfer is a little bit diffrent... the bellow specified
link have a very good discustion about both
http://www.developer.com/net/asp/article.php/3299641

Thanks
Munna
http://.munnacs.110mb.com
Jun 28 '07 #2
Thanks. The link was very interesting.
Are there any security difference in transferring with one or the other?

Thanks in advance,

Rick

"Masudur" wrote:
On Jun 28, 3:46 am, Richard <Rich...@discus sions.microsoft .comwrote:
Hello,

How are the following ways to navigate the site different?
Why are there so many to do the same thing?
Which one is best to follow?

window.href.loc ation = "..."
Server.Transfer ("...")
Response.Redire ct("...")

Thanks in advance,

Rick

Hi...

window.herf.loc ation is by using javascript... is good ...
if you dont want to acomplish any job before naviating to other
location..
if you do want to perform some operation before navigation then
response.redire ct is good...
because it happens in server... and so you have whole page life cycle
before client control event fires...
well server. transfer is a little bit diffrent... the bellow specified
link have a very good discustion about both
http://www.developer.com/net/asp/article.php/3299641

Thanks
Munna
http://.munnacs.110mb.com
Jun 28 '07 #3

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

Similar topics

2
8313
by: Richard Bell | last post by:
Newbie question ... please respond to group I'm trying to open/navigate to a url. How can I tell when the page is fully loaded? Testing suggest that window.open returns before the page is completely loaded and displayed. Likewise, window.navigate. The code looks something like this: wHandle = window.open( url, name, flags ); .... // how to tell when url is fully loaded and displayed
131
21704
by: Peter Foti | last post by:
Simple question... which is better to use for defining font sizes and why? px and em seem to be the leading candidates. I know what the general answer is going to be, but I'm hoping to ultimately get some good real world examples. Fire away! :) Regards, Peter Foti
13
9639
by: Kieran | last post by:
I am designing a content management system and I want to make sure all pages entered into it's database by users are using valid HTML. I have designed the system to use HTML 4.01 Transitional throughout, however the php powered html checker I have only caters for HTML 4.01 Strict. If possible I need to know the complete differences between Strict and Transitional so I can go through the php script and correctly set it up to properly...
1
2283
by: Vincent V | last post by:
Hey i am just starting a new project and from the start i want to make sure my app is as Object Orientated as possible I have a couple of questions in relation to this Question 1: Should i Struction my solution in numerous projects ie 1. Webpage Files(ui) 2. Classes
0
1290
by: tafs7 | last post by:
Hello, I have a custom datagrid control that works great. But I was thinking about adding some functionality to it. Currently, I use the datagrid to display one record at a time, and with item templates, if you click the edit button, the datagrid becomes a nice form to make changes. Kinda like a big rolodex, and as you page you flip thru each record individually. My question is this: how can I have some kind of server side script
3
2705
by: Yul | last post by:
Hi, We are in the process of designing an ASP.NET app, where a user will enter some 'Customer ID' to be queried in the database. If the ID is valid, several stored procedures will be called to populate multiple webpages containing customer information. There isn't a one-to-one correlation between the stored procedure and a webpage. In other words, a webpage may have to refer to 1 or more DataTables to populate itself. Therefore, a...
5
3980
by: Jeronimo Bertran | last post by:
I have an <a href=url> inside an Iframe.... when I click it, the url is navigated inside the frame... what do I need to do in order to navigate the url on the browser window and NOT the iframe?? Thanks , Jeronimo
4
1648
by: Mecena | last post by:
Hi! I'm using arrow keys to navigate thru controls and I want my tab control to implement that feature too, so when tabpage gets entered (focus is on the header) DOWN key should focus on first tabpage control. Now, how can it be achieved? I used to navigate using my utility classes, but recently discovered that SendKeys.Send("{TAB}") works fine too on most controls. Can I use it on tab too? thnx,
103
6885
by: Tom | last post by:
How do we get out of the browser infinite loop quicksand when we navigate to web pages designed to lock us in and force us to hit the "pay me" button (whatever they want to force you to do)? These are just a sample of nasty quicksand web pages I've run into which lock your browser into a loop and won't let you get out until you hit the "install" or "run" or "OK" button... (whatever it is they want you to do). http://www.spywareiso.com...
0
9708
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10340
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10327
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10085
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9161
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6857
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5527
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4302
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2999
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.