-1

Got a strange error today with SPUtility.Redirect. I am using it in one of my webparts, there IS Column field url enter url and trying to redirect

my Current Url:-http://pc9:9001/Surveys/Lists/Single%20Q%202%20Choice

After Past Url in Clolumn click on save

Click on redirect button it return new url:http://pc9:9001/Surveys/Lists/Single%2520Q%25202%2520Choice

Ith Adding 25 No Extra in Url, so How To Remove 25 number From URL

NorthCat
  • 9,643
  • 16
  • 47
  • 50

1 Answers1

0

these %20 and %25 characters are caused by encoding urls. to remove them just decode the url.

check these :

How can I decode a URL escape string in C#?

How do I decode a URL parameter using C#?

Community
  • 1
  • 1
mohsen dorparasti
  • 8,107
  • 7
  • 41
  • 61