Click here to Skip to main content
15,877,675 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have added a controller with scaffolding the codes are generated successfully.
But When I move from Index View to Details/Edit/Delete View it says "
C#
The resource cannot be found.
"

Then i checked the URL ,it is like "http://localhost:57426/Profitcenter/Details/0022%20">http://localhost:57426/Profitcenter/Details/0022%20"
but the actual URL should like below
http://localhost:57426/Profitcenter/Details/0022"

How do i fix this issue? and what's the problem with auto generated codes?

What I have tried:

I replaced the Parameter "0020" instead of "0020%20".
Posted
Comments
F-ES Sitecore 26-Jun-16 8:16am    
%20 is a space so whatever you're using to redirect, or generate the link to the action, is adding a space.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900