0

hi! i have problem with my form. I cannot connect with home.aspx when i submit it, there is nothing happen.
Can anyone tell me whY?

HERE'S MY CODE:

file name: Registration.aspx

<form id="form1" runat="server" method="post" action="home.aspx">
    <div>
        <table style="height: 141px">
            <tr>
                <td><label>Name:</label></td>
                <td>
                    <asp:TextBox ID="txtname" runat="server"></asp:TextBox></td>
                <td class="style1">
                    <asp:RequiredFieldValidator ID="errorname" runat="server" 
                        ControlToValidate="txtname" ErrorMessage="error in name"></asp:RequiredFieldValidator>
                </td>
            </tr>
              <tr>
                <td><label>Email:</label></td>
                <td><asp:TextBox ID="txtemail" runat="server"></asp:TextBox></td>
                <td class="style1">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                        ControlToValidate="txtemail" Display="Dynamic" ErrorMessage="error in email" 
                        SetFocusOnError="True"></asp:RequiredFieldValidator>
                  </td>
            </tr>
              <tr>
                <td><label>Address:</label></td>
                <td>
                    <asp:TextBox ID="txtaddress" runat="server"></asp:TextBox></td>
                <td class="style1">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                        ControlToValidate="txtaddress" ErrorMessage="error in address"></asp:RequiredFieldValidator>
                </td>
            </tr>
        </table>
        <asp:Button ID="Button1" runat="server" Text="Button" 
            onclick="Button1_Click1" />

        &nbsp;<input id="Submit1" type="submit" value="submit" /></div>
    </form>

Edited by canterorist: n/a

2
Contributors
3
Replies
4
Views
7 Years
Discussion Span
Last Post by vuyiswamb
0

Yes! thank you because you give me an idea. I think i will use Response.redirect() code to direct me to home.aspx

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.