473,408 Members | 2,477 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,408 software developers and data experts.

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.Redirect("default.aspx?d=ev&eid=7")
but i want also to add #forum namedAnchor target

i tried
Response.Redirect("default.aspx?d=ev&eid=7#forum")

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

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

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

Karl

"JohnZing" <jo**********@S.P.A.M.yahoo.com> wrote in message
news:Xn**********************************@207.46.2 48.16...
hi,

i have a question about redirect, parameters and anchors

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

i tried
Response.Redirect("default.aspx?d=ev&eid=7#forum")

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**************@TK2MSFTNGP10.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.Redirect("default.aspx?d=ev&eid=7#forum")
and request("eid") was nothing

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

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

Response.Redirect("default.aspx?d=ev&eid=7") without #forum works always.
So, the problem seems to be '#'
Nov 18 '05 #3
try Response.Redirect("default.aspx#forum?d=ev&eid=7")
"JohnZing" <jo**********@S.P.A.M.yahoo.com> wrote in message
news:Xn**********************************@207.46.2 48.16...
hi,

i have a question about redirect, parameters and anchors

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

i tried
Response.Redirect("default.aspx?d=ev&eid=7#forum")

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
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 =...
2
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...
1
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...
0
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,...
3
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...
3
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...
17
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...
3
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: ...
1
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...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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...
0
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...
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,...
0
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...

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.