• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 631
  • Last Modified:

Url string

Inherited a web site

There is a devex Menu with a dropdown that has @20 list items on it.

In the NavigateUrl section...there are some querystrings with spaces.

But the've been put in there differently

Some have url.com/default.aspx?CatName=My%20CatName&id=1

Some have url.com/default.aspx?CatName=My CatName&id=1

Some have url.com/default.aspx?CatName=My+CatName&id=1

What is best?

"%20", " ", or "+"  ?
0
Larry Brister
Asked:
Larry Brister
1 Solution
 
John SmithCommented:
"%20" is the html code for space / URLs shouldn't have spaces in them. Probably best to use + or -
0
 
Larry Bristersr. DeveloperAuthor Commented:
Figured.  Watch for immediate follow-up question
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now