I have the following HTML content. When i click the button, the page doesn’t post to URL provided in action tag. The corresponding application is running, but still the page load of the CrossPage.aspx was not invoked. What could be the problem?
<body>
<form id="UploadForm" method="post" enctype="multipart/form-data" action="http://localhost:2518/Web/CrossPage.aspx">
<div>
<input type="file" id="BtnUpload" />
<input type="button" id="BtnSubmit" value="Submit" />
</div>
</form>
</body>
Change
"button"to"submit"To your
<asp:button>you have not just theTextbut also therunatattribute right?These w3schools pages may help you