O
only_me
Having a bit of trouble here moving to .net. very familiar with the classic
ASP way of doing things but can't quite see the wood for the trees here in
..net
Classic ASP
On a form you have a number of form controls to accept user input, using the
the submit button passes those parameters across to next page in
request.form(keyname) fashion
..NET
Same as above but the norm, if you want to use form validation - which I
do, is that the form posts back to itself, so now in the button handler of
the equivelent of the Submit button I could do
If page.valid then
response.redirect (next_page)
end
But of course this won't pass across any form parmeters to the next , will
it
Whats the correct way to do this in .net ( I'm using VS)
I know you can change the .postbackurl of a button, but then I wouldn't get
my validation done, would I ?
Got a bit of mental block on this
TIA
ASP way of doing things but can't quite see the wood for the trees here in
..net
Classic ASP
On a form you have a number of form controls to accept user input, using the
the submit button passes those parameters across to next page in
request.form(keyname) fashion
..NET
Same as above but the norm, if you want to use form validation - which I
do, is that the form posts back to itself, so now in the button handler of
the equivelent of the Submit button I could do
If page.valid then
response.redirect (next_page)
end
But of course this won't pass across any form parmeters to the next , will
it
Whats the correct way to do this in .net ( I'm using VS)
I know you can change the .postbackurl of a button, but then I wouldn't get
my validation done, would I ?
Got a bit of mental block on this
TIA