Querystring parameters cannot be reset dynamically as they represent a
read-only collection of items in the url.
Of course, something else you could do would be to have a series of local
variables or protected properties that would initially populate from this
list, then change the variable in postback. This would work nicely if you're
using AJAX because then you wouldn't be posting back the whole page. If
you're not using AJAX, then using a response.redirect doesn't effect you
much because you'll have a full page postback and might as well do the
redirect to avoid worrying about keeping parameter updates in a viewstate.
--
Hope this helps,
Mark Fitzpatrick
Former Microsoft FrontPage MVP 199?-2006
"pbd22" <du*****@gmail.comwrote in message
news:11**********************@n51g2000cwc.googlegr oups.com...
can somebody tell me how to set a parameter of my current URL
without using response.redirect?
I am trying to set a parameter - ResponseId = 4 inside a while loop. is
this possible?
also, is it possible to replace the value of the ResponseId parameter
to, say "5" in the same way?
thanks!