MS VS-2005 open new page on button click

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
MehramAsked:
Who is Participating?
 
DhaestCommented:
Did you try to debug ? Did it go to the response... ?
0
 
iboutchkineCommented:
It must work. Check if you have this page
0
 
MehramAuthor Commented:
I found error causevalidation was true once i set false it is working
0
 
DhaestCommented:
Glad your problem is solved so quickly (and easily)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.