Click here to Skip to main content
15,891,905 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello All,

I am new to coding completely and have been given the task of setting up an internal website.... Ive got so far and have got stuck already this being ....

I have a button on one page that I want to open up another page but I cannot figure out the coding.

This is what appears within the ASP.Net coding window

Protected Sub BtnCapture_Click(sender As Object, e As EventArgs) Handles BtnCapture.Click

End Sub


Sorry for the lack of information but I'm not sure what people would want to know, if your needing anymore then please let me know

Thanks in advance
Emma
Posted

1 solution

VB
Protected Sub BtnCapture_Click(sender As Object, e As EventArgs) Handles BtnCapture.Click
    Response.Redirect("NewPage.aspx")
 End Sub
 
Share this answer
 
Comments
Emm4 12-May-15 6:54am    
Hi, thanks for your quick replay ... something so small can cause so much aggro. Thanks again

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900