[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Error trying to close asp page with report viewer

Posted on 2013-12-17
2
Medium Priority
?
231 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

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

A Change in PHP Behavior with Session Write Short Circuit (http://php.net/manual/en/book.session.php#116217) (Winter 2014)** With the release of PHP 5.6 the session handler changed in a way that many think should be considered a bug.  See the note …
A publishing tool, a Version Control System, or a Collaboration Platform! These can be some of the defining words for the two very famous web-hosting Git repositories: Bitbucket and Github. Git is widely used amongst the programmers and developers f…
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…
Learn how to set-up custom confirmation messages to users who complete your Wufoo form. Include inputs from fields in your form, webpage redirects, and more with Wufoo’s confirmation options.

649 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