Click here to Skip to main content
15,883,751 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello friends.

I want to some help about URL Routing with asp .net4

Problem: My Problem is that when I put (http://localhost:4448/A-OneTour-FW4/Indian Holidays) this url my project run successfully. but when i put this link (http://localhost:4448/A-OneTour-FW4/Indian Holidays/8)with parameter, my page layout structure is spoil badly. please tell me why this happening.
Posted
Updated 2-Jul-14 0:20am
v2
Comments
Charan_Kumar 2-Jul-14 6:27am    
Are you using MVC?
akshay25101988 2-Jul-14 6:55am    
Check the Browser
try it on another browser
deepakaitr12345 2-Jul-14 10:11am    
can you place more detail what you are doing in the actionResult is it rendering any conditin for id=8?
j snooze 2-Jul-14 13:30pm    
does this url help you out at all?
http://msdn.microsoft.com/en-us/library/vstudio/dd329551(v=vs.100).aspx

1 solution

Try to pass parameter value like this http://localhost:4448/A-OneTour-FW4/Indian Holidays/variable=8 instead of http://localhost:4448/A-OneTour-FW4/Indian Holidays/8

here variable is same as Querystring or session variable you have given in your code.
 
Share this answer
 

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