Belgie,
This is a trade off that was made in order to bring web programming into the
modern world of object oriented programming.
It took me a while to get used to it too...
Sincerely,
--
S. Justin Gengo, MCP
Web Developer
Free code library at:
www.aboutfortunate.com
"Out of chaos comes order."
Nietzche
"belgie" <belgie@hns.com> wrote in message
news:O6nN5RRVDHA.2156@TK2MSFTNGP11.phx.gbl...[color=blue]
> Whereas in Asp I could submit my form contents to any other Asp page, it
> appears that in Asp.NET the primary Asp form will only submit to itself.
>
> I have tried changing the Action attribute in the Form tag, but it changes
> itself back when compiled.
>
> I have also tried changing the form Action attribute in client-side
> javascript prior to submitting the form, but I get this error:
> The View State is invalid for this page and might be corrupted.
>
> I can pass the form collection to a different Asp page by creating
> properties in the page module and using Server.Transfer. I can also do it
> using client-side logic, by creating a second form on the page with[/color]
whatever[color=blue]
> Action attribute I desire, and copy the data from the primary form to[/color]
hidden[color=blue]
> controls on the secondary form before submitting it.
>
> Am I correct that there is no simpler way of accomplishing what was a[/color]
common[color=blue]
> task in old Asp?
>
> I am otherwise happy with ASP.NET so far. I can manage my interface in a
> single page, but it is a lot of panel moving and hiding. (I have found[/color]
the[color=blue]
> best way to do this is with an HTML Grid Layout panel, with the RunAt
> property set to Server.)
>
> Please let me know if it seems I have overlooked something.
>
> Thanks!
> Bill
>
>
>[/color]