<%@dotnet.itags.org. Page Language="C#" %>
<html>
<head>
<title>My Page</title>
</head>
<body>
<form runat="server">
<form method="POST" action="http://www.microsoft.com">
<input type="submit" value="15" name="redirect" />
</form>
</form>
</body>
</html>
Can anyone figure why?Hi,
Place HTML <form> outside the Server side <form> :
<%@. Page Language="C#" %>
<html>
<head>
<title>My Page</title>
</head
<body>
<form runat="server">
</form>
<form method="POST" action="http://www.microsoft.com">
<input type="submit" value="15" name="redirect" />
</form>
</body>
</html>
Take a look @. :
-Form-based Programming in ASP.NET
-Wilson WebForm enables Multiple Forms and Non-PostBack Forms
HTH
thanks for that, is it possible to do the same thing within a user control, coz this is where my problem occurs?
No comments:
Post a Comment