473,385 Members | 1,536 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,385 software developers and data experts.

I want the # pound in the URL QueryString, not a bookmark

I am hoping there is a way to encode the querystring part of a URL reached
from a hyperlink that will cause the Request to not drop the info after the #
in the URL string. Any clues or links to details on how I would do this?
Thanks!
Dec 30 '05 #1
2 5498
Hello Larry,
I am hoping there is a way to encode the querystring part of a URL
reached from a hyperlink that will cause the Request to not drop the
info after the # in the URL string. Any clues or links to details on
how I would do this? Thanks!


Why don't you URL encode all # characters? Instead of http://host/to/path/file.aspx?a#b,
use http://host/to/path/file.aspx?a%23b.

Cheers,
--
Joerg Jooss
ne********@joergjooss.de
Jan 1 '06 #2
Sounds great, except I've never needed it before, so I don't know how to
implement it. Do you have any links that explain it?
Thanks again.

"Jörg Jooss" wrote:
Hello Larry,
I am hoping there is a way to encode the querystring part of a URL
reached from a hyperlink that will cause the Request to not drop the
info after the # in the URL string. Any clues or links to details on
how I would do this? Thanks!


Why don't you URL encode all # characters? Instead of http://host/to/path/file.aspx?a#b,
use http://host/to/path/file.aspx?a%23b.

Cheers,
--
Joerg Jooss
ne********@joergjooss.de

Jan 2 '06 #3

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

Similar topics

4
by: Robert Zierhofer | last post by:
hi there, it seems as if i can´t convert the euro and pound sign to their html equivalents. i tried eregi_replace("€", "€", $haystack); eregi_replace("£", "£", $haystack); as...
5
by: Waldy | last post by:
Hi there, I am using the .Net XML Serialization classes to create XML strings. This has been working fine up until the point that one of the strings contained a pound sterling symbol. The...
12
by: savedelhi | last post by:
Hi, I'm a relative newby and have a tricky problem in Access 2002. I have a continuous form with a check box called "Select". (I now know I shouldn't have called it that but it's way too late...
2
by: Chris | last post by:
Can someone tell me why HTMLEncode doesn't convert # to %23? I am building a querystring and the # comes through as a #, which of course kills the rest of the items in the querystring. Any...
3
by: DonnyW | last post by:
I am working on an application that displays a list of items (biglist.aspx). With each item, there is a link that takes the user to another aspx page for updating the specific details of that item...
0
by: Larry | last post by:
I am hoping there is a way to encode the querystring part of a URL reached from a hyperlink that will cause the Request to not drop the info after the # in the URL string. Any clues or links to...
5
by: CharlesA | last post by:
Hi folks, I'm having a discussion with my colleague about how to go about passing data from one aspx page to another example On the main page I have a whole list of relationship managers with a...
1
by: Vivienne | last post by:
Hi there This is a hard problem that I have - I have only been using sql for a couple of weeks and have gone past my ability level quickly! The real tables are complex but I will post a simple...
0
by: ricklafleur | last post by:
I'm using CSharp/ASP.NET 2.0 and trying to create a simple search page that records the user query in the URL (so can be bookmark) and also re-writes the query int the original TextBox. This only...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

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.