[thelist] No Action in Forms and still works...

Scott Dexter dexilalolai at yahoo.com
Tue Nov 9 15:07:43 CST 2004


--- Robert Vreeland <vreeland at studioframework.com> wrote:

> The place it is not required is in an asp.net form ( with the
> attrib of
> runat=server); as asp.net forms will only post back to themselves
> regardless
> of any action attribute.

Well, it /is/ still required by the HTML 4 spec. If you look at a
rendered .aspx page, you'll see that the action attribute is
populated. I just played around with it, and (following the
observation above) the value that is coded in the form at design-time
/is overwritten/ during rendering. So for those of us doing .NET
development, ya might as well forget about it. Which sucks. I don't
like losing that kind of control. I'm sure there's a way to get the
form to post elsewhere, but I haven't done the research....

sgd


More information about the thelist mailing list