Form post - omskrivning til ASP.NET
HejHvordan kan jeg omskrive denne HTML til ASPX så jeg kan afvikle det fra code behind - tænkte på HttpWebRequest? -
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<script lang="javascript" src="https://betaling.dk/customers/js/openpaymentwindow.js"></script>
</head>
<body>
<a href="#" onClick="openPaymenWindow()">Open paymentwindow</a>
<form action="https://betaling.dk/paymentwindow.php" method="post" target="paymentwindow" name="payment" id="payment">
<input type="hidden" name="shopid" value="1234" />
<input type="hidden" name="currency" value="208" />
<input type="hidden" name="amount" value="1000" />
<input type="hidden" name="orderid" value="1001" />
</form>
</body>
</html>