|
-
February 5th, 2010, 10:12 AM
#4
Re: Html decode?
 Originally Posted by eclipsed4utoo
try this...
Code:
selectedRbtnID = HttpUtility.UrlDecode(radiobutton.ID);
you will need to add a reference to the System.Web namespace(if you don't already have it).
I tested with this, and it converted it correctly...
Code:
string test = HttpUtility.UrlDecode("hello%20world");
// Output
// "hello world"
Good point. I would still prefer to have an identifier that doesn't include spaces or any special characters...
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|