Posted on: 1/1/2014 3:24:46 PM | Views : 647

Hello, I am working off an example file upload form.  I am not really used to working with asp controls, so this may be a dumb question.  However, I'm not sure how to pass hidden variables to and from the form.
I would like to pass the filename as a hidden variable from the upload form to the next page.
I also have a second hidden variable I'd like to pass to the file upload form and then pass again from the upload form to the next page.
My questions are:
1. I am not sure how to gather the filename in order to pass it as a hidden variable.
2. I am not sure the proper way to reference the other hidden field -- I have given a name "msgbody" but when I look at the source code, asp.net has inserted a bunch of stuff so that it looks more like "ctl00$MainContent$msgbody" -- is it okay the way I have handled this?
Thanks in advance for your help.
<script runat="se ...

Go to the complete details ...