A
Adam Knight
Hi all,
I have a form that i want to benefit from aspx functionality (ie: viewstate,
validation).
However for the posting of the form, i want to simply transfer execution to
another script.
Server.Transfer("myScript.aspx")
Because i am using .net i can't use the action attribute (it appears) in a
form and simply post that form by
clicking a submit. Instead .net appears to require issuing a post back.
This said, it seems a little strange to have an onClick Server event issuing
the Server.Transfer.
It would add another page request wouldn't it. First the post back.. then
the transfer?
Am i missing something here?
Adam
I have a form that i want to benefit from aspx functionality (ie: viewstate,
validation).
However for the posting of the form, i want to simply transfer execution to
another script.
Server.Transfer("myScript.aspx")
Because i am using .net i can't use the action attribute (it appears) in a
form and simply post that form by
clicking a submit. Instead .net appears to require issuing a post back.
This said, it seems a little strange to have an onClick Server event issuing
the Server.Transfer.
It would add another page request wouldn't it. First the post back.. then
the transfer?
Am i missing something here?
Adam