Solved

MS VS-2005 open new page on button click

Posted on 2007-11-15
4
130 Views
Last Modified: 2010-04-24
I am using following code on button click, but it is not opening page
Protected Sub Button2_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button2.Click
        Response.Redirect("PswRpt.aspx")
    End Sub
0
Comment
Question by:Mehram
  • 2
4 Comments
 
LVL 28

Expert Comment

by:iboutchkine
ID: 20288397
It must work. Check if you have this page
0
 
LVL 53

Accepted Solution

by:
Dhaest earned 500 total points
ID: 20288401
Did you try to debug ? Did it go to the response... ?
0
 

Author Comment

by:Mehram
ID: 20288416
I found error causevalidation was true once i set false it is working
0
 
LVL 53

Expert Comment

by:Dhaest
ID: 20288462
Glad your problem is solved so quickly (and easily)
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question