Using an HTML Textbox in place of an ASP.NET TextBox
Posted
by Velika
on Stack Overflow
See other posts from Stack Overflow
or by Velika
Published on 2010-03-31T23:26:03Z
Indexed on
2010/03/31
23:53 UTC
Read the original article
Hit count: 662
If I add this to the ASPX page:
<input id="Text1" type="text" value="Text1Value" />
I would expect to see "Text1" in the list of Request Form keys even WITHOUT setting the runat=Server property.
? request.Form.AllKeys
I realize that if I do set that propery, then I will have a server-sided HTML control that I can reference using the name "Text1," but shouldn't I be able to access the text in the text box using the following VB.NET syntax?
request.Form("Text1")
© Stack Overflow or respective owner