Are you just using the "good ole" Request.Form["inputname"] method to get
your values? If so, do your inputs have NAMES in the html? (Do a
view-source.) Also, you're using method=POST in your form, not method=GET,
right?
Ray at home
"Roshawn Dawson" <> wrote in message
news:enCZ$...
> Hi,
>
> This may seem like a trivial question, but I haven't been able to get this
> to work. Here goes...
>
> I have an .aspx page that is rendered using an xml file and an xsl file.
> The xsl file renders an html form and a number of controls on the page, in
> addition to transforming the xml file. (It goes without saying that
> neither the html form nor the other controls are server controls.)
> Everything is rendered as I desire.
>
> But using the form in code behind is my problem. When I try to access the
> form using the Request object, I get nothing. The form and all of the
> controls that it contains have their needed attributes set (name, id,
> value, etc.). I, however, can't access any of the form's controls using
> the Request.Forms collection.
>
> Considering the fact that I'm using an xsl file to render the html to the
> page, is this the reason that I can't access the controls in the form's
> collection? Must I create the html without the xsl file in order to get
> this to work?
>
> Thanks,
> Roshawn
|