Search:
Namespaces
Discussions
.NET v1.1
Feedback
url encode in client site
Messages
Related Types
This message was discovered on
ASPFriends.com 'aspngclient' list
.
Vo Thanh Hoa
-- Moved from [aspngfreeforall] to [aspngclient] by mrpike <
Click here to reveal e-mail address
> --
Hi all, I just came into the question below
Is there any function that can encode an url in client-site or we have to do it by hands ?
Reply to this message...
George Kaytor
If you mean client-side scripting, javascript has the escape function which
will url encode a string.
example: escape(urlstring
-g
[Original message clipped]
_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx
Reply to this message...
Vo Thanh Hoa
Thanks
I have found the writting below in MSDN=20
"Note The escape method should not be used to encode Uniform Resource =
Identifiers (URI). Use encodeURI and=20
encodeURIComponent methods instead"
-----Original Message-----
From: George Kaytor [mailto:
Click here to reveal e-mail address
]
Sent: Monday, August 12, 2002 7:19 PM
To: aspngclient
Subject: [aspngclient] Re: url encode in client site
If you mean client-side scripting, javascript has the escape function =
which=20
will url encode a string.
example: escape(urlstring
-g
[Original message clipped]
_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:=20
http://photos.msn.com/support/worldwide.aspx
| [aspngclient] member
Click here to reveal e-mail address
=3D YOUR ID
|
http://www.aspfriends.com/aspfriends/aspngclient.asp
=3D JOIN/QUIT
Reply to this message...
George Kaytor
Those methods will be executed on the server not on the client... If you
want to have it run on the client (ie in the user's browser) you have to use
a client side script. (javascript or vbscript)
-g
[Original message clipped]
_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx
Reply to this message...
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us
-
Terms of Use
-
Privacy Policy
-
www.dotnet247.com