Re: querystring and going back in browser

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: tony collier (melakka_at_hotmail.com)
Date: 02/01/04


Date: Sun, 01 Feb 2004 16:31:13 GMT


"Rocky Moore" <gRockyMoore@hintsandtips.com> wrote in
news:uN1bd0K6DHA.1804@TK2MSFTNGP12.phx.gbl:

> If you have a button, why not user a server control like linkbutton or
> a button and grab the onClick in your code behind. Then when they
> click it, you could have a field somewhere on the screen that you
> would update saying it has been added.
>
> Since it is not passed in a querystring as you have been processing
> it, you would only need to process in the OnClick which is only
> triggered if it is a postback event.
>

thanks guys for the suggestion. I still have a problem though in that I
can't put a form on my page because half of it is screenscraped and for
some reason adding a form to this won't display the whole page. So how can
I add a button without embedding it in a form?


Quantcast