473,786 Members | 2,771 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

redirect, parameters and anchors

hi,

i have a question about redirect, parameters and anchors

i want to do the following redirect (just an example)
Response.Redire ct("default.asp x?d=ev&eid=7")
but i want also to add #forum namedAnchor target

i tried
Response.Redire ct("default.asp x?d=ev&eid=7#fo rum")

but request("eid") becomes nothing in the target page

where should i add the #forum namedAnchor target ???

thank you
Nov 18 '05 #1
3 1966
Funny works for me in both IE and mozilla...

Karl

"JohnZing" <jo**********@S .P.A.M.yahoo.co m> wrote in message
news:Xn******** *************** ***********@207 .46.248.16...
hi,

i have a question about redirect, parameters and anchors

i want to do the following redirect (just an example)
Response.Redire ct("default.asp x?d=ev&eid=7")
but i want also to add #forum namedAnchor target

i tried
Response.Redire ct("default.asp x?d=ev&eid=7#fo rum")

but request("eid") becomes nothing in the target page

where should i add the #forum namedAnchor target ???

thank you

Nov 18 '05 #2
"Karl" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net> wrote in
news:ee******** ******@TK2MSFTN GP10.phx.gbl:
Funny works for me in both IE and mozilla...


thank you,
i found that if i do a refresh it works... now I'm confused

i did Response.Redire ct("default.asp x?d=ev&eid=7#fo rum")
and request("eid") was nothing

then i hit "refresh" in IE and request("eid") became 7

uau... i don't understand ?????

Response.Redire ct("default.asp x?d=ev&eid=7") without #forum works always.
So, the problem seems to be '#'
Nov 18 '05 #3
try Response.Redire ct("default.asp x#forum?d=ev&ei d=7")
"JohnZing" <jo**********@S .P.A.M.yahoo.co m> wrote in message
news:Xn******** *************** ***********@207 .46.248.16...
hi,

i have a question about redirect, parameters and anchors

i want to do the following redirect (just an example)
Response.Redire ct("default.asp x?d=ev&eid=7")
but i want also to add #forum namedAnchor target

i tried
Response.Redire ct("default.asp x?d=ev&eid=7#fo rum")

but request("eid") becomes nothing in the target page

where should i add the #forum namedAnchor target ???

thank you

Nov 18 '05 #4

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

Similar topics

5
8999
by: Peroq | last post by:
Hi all, All of these fail : response.redirect("page.asp?Param=Param#Anchor") response.redirect("page.asp#Anchor?Param=Param") This one works fine : location.href = "page.asp?Param=Param#Anchor" I have a solution i dont like :
2
1625
by: mlv2312 | last post by:
Hi, I have experienced problems when dealing with nested anchors. I implemented some code to perform highlighting and specific anchors are used for the searched words. The problem is when the searched words are inside <a href> tags, the links are lost after putting my anchors. For example: <a class="Programa" href="#" OnClick="window.open('/something.tif');"
1
2033
by: mlv2312 | last post by:
Hi, I have experienced problems when dealing with nested anchors. I implemented some code to perform highlighting and specific anchors are used for the searched words. The problem is when the searched words are inside <a href> tags, the links are lost after putting my anchors. For example: <a class="Programa" href="#" OnClick="window.open('/something.tif');"
0
2481
by: J. Miller | last post by:
I have a datagrid with update/cancel on one side, a button on the other which, when clicked, will take the user to a page that allows them to e-mail that particular observation's data. My problem, is that I have some columns that are sortable. To make everything work, I can wrap the e-mail code in a 'if not.postback' statement (wrong I know--testing here), but then, my sorts/updates/cancels don't work because an error is thrown from the...
3
3485
by: michael_vanommeren | last post by:
I have two web applications that I am working with and I am trying to do a Response.Redirect from one to the other. They are setup as separate web applications on the same IIS server. If I go directly to the second application in a browser, all of my events fire correctly. However, if I have the first application do a Response.Redirect to the second, for some reason none of my events on the second application ever get fired. After I...
3
2285
by: neil_pat | last post by:
I have a stored procedure which returns a value of between 0 and 4. I want the user to press a button to receive feed back on their last input. The save button takes the input and saves it to the database. The feedback button runs a stored proc that takes the saved data from the table, performs a logical calcualation and returns the right value between 0 and 4. Depending on the value returned the redirect page is different. Here is...
17
4294
by: Crimperman | last post by:
Hi, need some advice on URIs In a dynamic page (perl driven) we list a number of items presented in an hierarchical tree structure. Within that page is a form which allows you to search for items containing various strings (trying to get the users to *remember* CTRL+F was proving fruitless). The results are then presented at the top of the page with links to the relative anchor references (<a href="#foo">) . When clicked these would...
3
8181
by: alasdair.stirling | last post by:
Dear All, I am new to ASP/ASP.Net and am trying to workout the exact meaning of some old ASP Classic code. Can anyone please explain the meaning of the following line of code: Response.Redirect("store.asp?r=1&m=3") In particular I need to understand the parameters (i.e. r=1&m=3) that are being passed, and if they are defaults where can I get a listing
1
5919
by: zizi2 | last post by:
I have a form that I want to redirect to another page after clicking the submit button. It works well (please see the code below) except that it cancells my pop-up message, it goes the redirected page without showing the popup. Please help: private void Submit_Click(object sender, System.EventArgs e) { if( filMyFile.PostedFile.ContentLength != 0 ) { string strFilename; strFilename =...
0
9655
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
9497
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10110
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
8993
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...
1
7517
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6749
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();...
1
4067
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
2
3670
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2894
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.