I have the following URL : “http:/server/Search/term/5”
where term is the seached term and 5 the page
On that page, I have filters that filter the results.
My problem is I have less than 5 pages of results, I end up on empty page. I would like to “redirect” or “edit” the url to “http:/server/Search/term”
I use a CheckBoxList with AutoPostBack true.
I also tried with a Button and setting the PostBackUrl to my url but I’m loosing all the checked filters.
I’m using IRouteHandler.
How would I be able to do that ?
I’ve finally put the page parameter in the querystring.
The Button with a PostBackUrl then works like a charm.
Thanks KeithS !