Page 126-129
Try as I might, I cannot get the code to work from the above cited pages. I tried the alternate code suggested on another board:
Add this:
<script runat="server">
'Event to transfer page control to holidayresponse.aspx
Sub Page_Transfer(sender As Object, e As EventArgs)
Server.Transfer("holidayresponse.aspx")
End sub
'Event to reset the page
Sub Page_Reset(sender As Object, e As EventArgs)
FullName.text = ""
End Sub
</script>
Change the submit and reset buttons to respond to events:
<input type=submit OnClick="Page_Transfer" runat=server/>
<input type=reset onClick="Page_Reset" runat=server/>
I have ASP.NET 2.0 Beta, so I don't know if that is the problem?
|