I have a text input to get a 'roomID' and an ASP button that calls an 'enterRoom' function:
roomID:<asp:TextBox runat="server" ID="roomID"></asp:TextBox>
<asp:Button ID="Button1" runat="server" Text="Enter Room!" OnClick="enterRoom" />
In my head tags I have my enterRoom Sub:
Sub enterRoom(ByVal sender As Object, ByVal e As System.EventArgs)
Server.Transfer("users/room.aspx?roomID=" & Request.Form("roomID"))
Now when I click that button it essentially goes to the right page in all ways but the URL stays as my default.aspx instead of changing to users/room.aspx?roomID=23423. I've tried it in IE and Firefox with the same results. Is this something I'm not understanding about Server.Transfer or why is this happening and how do I fix it?
View Complete Post