Hello,
I am working on a project where I am using redirection URLs to get to my scripts, for example, /sample goes to /sample/test.aspx and stuff more complex with regular expressions. I have found a problem with .net and the way the html form action is displayed. For example, when I call /sample the redirection works fine and it opens /sample/test.aspx, however the html action code generated for the form says: action="test.aspx" instead of saying action="/sample" and that's a problem because when I click submit it tried to open /test.aspx. Wrong location because the file is inside /sample. In the ideal world, I want the form to say /sample and not test.aspx. Is that possible? I hope I didn't make it too confusing...thanks a lot
I am working on a project where I am using redirection URLs to get to my scripts, for example, /sample goes to /sample/test.aspx and stuff more complex with regular expressions. I have found a problem with .net and the way the html form action is displayed. For example, when I call /sample the redirection works fine and it opens /sample/test.aspx, however the html action code generated for the form says: action="test.aspx" instead of saying action="/sample" and that's a problem because when I click submit it tried to open /test.aspx. Wrong location because the file is inside /sample. In the ideal world, I want the form to say /sample and not test.aspx. Is that possible? I hope I didn't make it too confusing...thanks a lot