468,457 Members | 1,788 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,457 developers. It's quick & easy.

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 1772
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by mlv2312 | last post: by
1 post views Thread by mlv2312 | last post: by
reply views Thread by J. Miller | last post: by
3 posts views Thread by neil_pat | last post: by
3 posts views Thread by alasdair.stirling | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.