Go4Expert (http://www.go4expert.com/)
-   ASP (http://www.go4expert.com/forums/asp/)
-   -   Trim/Replace URL String help needed please (http://www.go4expert.com/forums/trim-replace-url-string-help-t26071/)

AndyJay2011 15Jun2011 19:47

Trim/Replace URL String help needed please
Hi all......
Can anyone help me out with this one please?
I have a results page that displays products in order of product name.
I have a dropdown menu with three order options (price low, price high and manufacturer).
I want to be able to select an option and have the page display the products by one of the three order options.
So far i've created a DIM for the dropdown menu value. The DIM requests the Querystring which is the url for the results page like:


I then want to 'tag' the dropdown menu value on the end of this url when an option is selected and the page is submitted to itself

Bearing in mind the new url will be something like:

results.asp?menuselect=e&CategoryID=30&sortby=pric ehigh

I will need to be able to replace anything after the sortby= with the new menu option value if the visitor changes the order.

Hope that makes some kind of sense :-)

Thanks in advance

AndyJay2011 16Jun2011 18:38

Re: Trim/Replace URL String help needed please
No replies yet.
Does anyone understand what i'm trying to acheive? :-)


All times are GMT +5.5. The time now is 19:21.