Currently when clicked, my button on my webpage submits users information and redirects to another webpage. Ideally I would like the user to click the button, have the information still submit, but have the window close instead of redirect
Below is a snippet of code from the button itself (.aspx) <asp:Button ID="Submit" runat="server" Text="Submit Tab Titles/Colors" OnClick="Submit_Click" ValidationGroup="ContactUs" /> <asp:Button ID="reset" OnClientClick="document.location.href=document.location.href;" Text="Reset" runat="server" />
Any help would be very appreciated