G
Guest
Hello All,
I am trying a non-standard approace to asp.net that i hope will work so I
can get an xhtml complient page.
Setup as Follows:
Code-behind but not form runat="server" so traditional Request.Form("key")
handling of the POST event. No server-controls (only html elements)
Desire:
Not to have to code-inside.
What's occuring on POST events (and I do not have many forms on my site so
this is a nice-to-have answer)
AutoEventWireup="false"
Page_Load () Handles MyBase.Load
HandleFormPost(Request)
end Sub
Sub(objRequest as HttpRequest)
Do form processing
end sub
Soo.. with that setup info. I put breakpoints in my OnLoad and its running
twice and has the whole form collection on both times around so I can't go..
if request.form("key").Length = 0 or something like that.
Has anyone used the same set-up of not form-runat="server" so you can get
valid xhtml pages? i.e. the viewstate is not-self-closing so it breaks my
validation.
Thanks to all!
I am trying a non-standard approace to asp.net that i hope will work so I
can get an xhtml complient page.
Setup as Follows:
Code-behind but not form runat="server" so traditional Request.Form("key")
handling of the POST event. No server-controls (only html elements)
Desire:
Not to have to code-inside.
What's occuring on POST events (and I do not have many forms on my site so
this is a nice-to-have answer)
AutoEventWireup="false"
Page_Load () Handles MyBase.Load
HandleFormPost(Request)
end Sub
Sub(objRequest as HttpRequest)
Do form processing
end sub
Soo.. with that setup info. I put breakpoints in my OnLoad and its running
twice and has the whole form collection on both times around so I can't go..
if request.form("key").Length = 0 or something like that.
Has anyone used the same set-up of not form-runat="server" so you can get
valid xhtml pages? i.e. the viewstate is not-self-closing so it breaks my
validation.
Thanks to all!