I am trying to post data from one page to another by using an ASP TextBox
control, but I cannot read its name attribute because it gets mangled by the master page. (or so I understand)
If I set the ID of the TextBox to TextBox1
, then its name will be something like ctl00$BodyContent$TextBox1
which prevents me from reliably reading the POST data by simply using its name.
How should I go about resolving this?
Should I use a simple HTML input tag instead? I would rather not, because it is obviously less flexible.