I have a "showall" query string parameter in the url, the parameter is being added dynamically when "Show All/Show Pages" button is clicked.
I want the ability to toggle "showall" query string parameter value depending on user clicking the "Show All/Show Pages" button.
I'm doing some nested "if's" and string.Replace() on the url, is there a better way?
All manipulations are done on the server.
p.s. Toran, good suggestion, however I HAVE TO USE URL PARAMETER due to some other issues.