Solved

Error trying to close asp page with report viewer

Posted on 2013-12-17
2
211 Views
Last Modified: 2013-12-18
I have FINALLY been able to open my remote SSRS reports from an asp page (ReportViewer.aspx)  using the ReportViewer control in VS2010.

But now when I click my Return button on that page, it seems to still be trying to open the report viewer.

The code on the Return button is simply this:

            Server.Transfer("~\UserPages\Lab\EditBlendMakeup.aspx")

Open in new window


And yet when I click the button, I get an error saying it can't find resource the resource - Requested URL:  "/ReportViewer.aspx". Why oh why is it still looking for the reportviewer page when I am clearly trying to leave that page and go to "~\UserPages\Lab\EditBlendMakeup.aspx" (which definitely exits)????

I have put a breakpoint in my Return button code. This error is being thrown even before it hits that code.
0
Comment
Question by:Lisa412
  • 2
2 Comments
 

Accepted Solution

by:
Lisa412 earned 0 total points
ID: 39727389
After much head banging, I tried this :

    Private Sub ReportViewer2_Init(sender As Object, e As System.EventArgs) Handles Me.Init
        Scriptmanager1.EnablePartialRendering = "false"
    End Sub

Open in new window


No idea why, but problem fixed.
0
 

Author Closing Comment

by:Lisa412
ID: 39727391
no experts replied
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Using Quotation Marks in PHP This question (http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/Q_28217211.html) seems to come up a lot for developers who are new to PHP.  And it got me thinking, "How can we explain the rule…
It’s a strangely common occurrence that when you send someone their login details for a system, they can’t get in. This article will help you understand why it happens, and what you can do about it.
This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…
Wufoo.com provides powerful tools for surveying targeted groups, and utilizing data from completed surveys to find trends, discover areas of demand or customer expectation, and make business decisions on products or services.

758 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now