Solved

MS VS-2005 open new page on button click

Posted on 2007-11-15
4
133 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

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 …
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

679 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