Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Member
242 Points
256 Posts
Apr 25, 2012 03:19 PM|LINK
Hi Neil
Tried that but form is: <form action="" id="frmSearch" method="get">
Below is what I think you mean.
routes.MapRoute( name: "SearchResults", url: "SearchResults/{q}/SearchOption/{o}/Page/{p}", defaults: new { controller = "Search", action = "Index", q = UrlParameter.Optional, o = UrlParameter.Optional, p = UrlParameter.Optional } );
George
LearningASP_...
Member
242 Points
256 Posts
Re: Problem with route in VS2011 Beta
Apr 25, 2012 03:19 PM|LINK
Hi Neil
Tried that but form is: <form action="" id="frmSearch" method="get">
Below is what I think you mean.
routes.MapRoute( name: "SearchResults", url: "SearchResults/{q}/SearchOption/{o}/Page/{p}", defaults: new { controller = "Search", action = "Index", q = UrlParameter.Optional, o = UrlParameter.Optional, p = UrlParameter.Optional } );George