Link to home
Start Free TrialLog in
Avatar of Mehram
MehramFlag for Pakistan

asked on

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
Avatar of iboutchkine
iboutchkine

It must work. Check if you have this page
ASKER CERTIFIED SOLUTION
Avatar of Dirk Haest
Dirk Haest
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Mehram

ASKER

I found error causevalidation was true once i set false it is working
Glad your problem is solved so quickly (and easily)