Hello,
I'm having trouble passing parameters from one asp page to another. I'll send a copy of the code shortly once I get on the machine I'm developing on. As reference, I'm running MS Visual Studio 2013 on my local computer, creating code in C#.
At any rate, I confirmed that the:
- Form html tag declares its method as post
- All input tags have a name attribute
- A Submit button is present, confirmed that the type="Submit"
I made a test project, where test1.aspx has the form whose action calls test2.aspx.
Running it through the debugger reveals that the Request.Form collection is empty after clicking submit. I did notice that Intellitrace did acknowledge a post request to test2.aspx, but also shows a redirect to test using the get method. I looked through
the Request object and did see that the method is truly get.
I'm a newbie when it comes to ASP.net, so perhaps I'm just missing something simple. Any thoughts on this is greatly appreciated.
Regards,
Arun