Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

MS VS-2005 open new page on button click

Posted on 2007-11-15
4
Medium Priority
?
142 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 2000 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

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

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

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…

773 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