Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
ASP .Net
problem with redirecting page with OnClientClick
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Dan, post: 1993770"] Hi, i try to redirect to another aspx page with jscript. I use "OnClientClick" but nothing happens. I tried two ways. What am i doing wrong? Thanks Dan .... <form id="form1" runat="server"> <asp:Button ID="ContinueButton" runat="server" OnClientClick="return profiel()" /> </form> .... <script language="javascript" type="text/javascript"> function profiel() { //window.location.href="page2.aspx" Response.Redirect("page2.aspx") } </script> [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
ASP .Net
problem with redirecting page with OnClientClick
Top