SQL Reporting :: Displaying ReportViewer In A Separate Window?

Oct 4, 2010

I have a web app using SQL2008 R2 and VS2008, the reports are deployed to the report server, and in the app we have aspx pages where the user can select report criteria to run the reports, and when they are done selecting the criteria they click on the run report button and the report will be displayed in a separate aspx page which contains the reportviewer control. I use Server.Transfer() to display the reportviewer page because I need to use session to store the report criteria that the user selected (can't use URL parameters because the criteria can be quite extensive), and we don't want to cause the parent aspx page to postback.

The above works fine currently, but what our clients don't like is that the report is opened in a full browser window (with all of the address bar, toolbar, favorites, etc.), they really want the report page to open in a window with none of those stuff. One of the complaints is that they often mistakenly click on the printer icon in the browser toolbar instead of the one in the reportviewer control. I know how to open a window using javascript (window.open) and set the properties for the new window, but then I wouldn't be able to use session to pass the reprot criteria. Using Server.Transfer() or Repsonse.Redirect() would not let me customize the browser window.

To summarize, here are my requirements:

1. the report must be displayed in a separate page

2. the report should be displayed in a barebone window (without the browser toolbars, etc.)

3. report criteria are too extensive to pass as URL parameters, I have to use session to store the criteria

4. I would like the parent page to not have to do a postback

View 3 Replies


Similar Messages:

SQL Reporting :: ReportViewer Remote Processing Mode / Error Microsoft.Reporting.WebForms.MissingReportSourceException?

Mar 28, 2011

i am trying to call a report with a ReportViewer control using this code:

[Code]....

but i am having this error

Microsoft.Reporting.WebForms.MissingReportSourceException = the source of the report definition has not been specified.

View 1 Replies

Javascript - Reporting Child Window's Events To Parent Window To Reset Timer Value Of User Timeout Code

Sep 2, 2010

I've got a Jquery function that I wrote which blacks out the screen after a certain amount of inactivity, creates a pop-up that allows the user to click a button to stay logged in, and logs them out (closing the application window) if they do not respond in time.

The environment is ASP.NET (VB). We don't technically use master pages, but we do have a parent page in which our header, footer and nav reside, and my Jquery code is called from that window, loaded via an IFrame.My problem is that if one is working in a child window, the parent window doesn't recognize that the system is in use, and will automatically engage at the allocated time.I've tried everything under the sun I can think of and nothing works properly. My event handler is working, and it does call the parent window function, but the timer is not being reset.

I have this function in the parent window:

<script language="javascript" type="text/javascript">
function window.reportChildActivity() {
SESSION_ALIVE = true; [code]....

View 1 Replies

SQL Reporting :: How To Do DataSet For ReportViewer

Mar 23, 2010

I want to do ReportViewer, and i want have created a DataSet. I fail to drag the data table from ToolBox. My ToolBox doesn't exist any data table. The output i want to archive is something like this in my DataSet

View 5 Replies

MVC :: Displaying Two Separate DB Objects On The Same Page?

Nov 2, 2010

What I would like to do using LINQ is display two seperate db objects on the same page using ASP.NET MVC. So I could have URLs like:

www.x.com/location1/item1

www.x.com/location1/item2

Displays the information for Location1 and items 1 or 2.

www.x.com/location2/item1

www.x.com/location2/item2

Displays the information for Location2 and items 1 or 2.

There is no difference between item1 and item2. So each location could be associated with each item.

View 1 Replies

Open A Document In A Separate Window From A Site Map?

May 6, 2010

I was hoping to open a document in a menu control using a sitemap. I am using the following code in the sitemap but get an error. I would like to be able to click on the menu item, have it open the sample doc in a new window, but not to have the original page navigate to a new place (essentially to do nothing on the main page.)

<siteMapNode url="javascript:window.open('Sample.doc','SampleName'); return false" title="FAQs" description="FAQs" />

Is there some javascript I can use that does not require me to register a function on every page?

View 3 Replies

VS 2010 - Need To Have Page Open In A Separate Window

Nov 3, 2011

using a asp.net xml menu...need to have the page open in a separate window but the target attribute isn't working

Code:
<SubMenu text="About4" url="About4.aspx" target="_blank">

View 4 Replies

SQL Reporting :: Hide ReportViewer Until Render?

Jan 12, 2011

For many of the pages I build, I don't wish to have the ReportViewer visible until firing an event such as a button click. Using .Net 4.0 and ReportViewer10, however, throws the error "Message: Sys.ArgumentNullException: Value cannot be null. Parameter name: panelsCreated[1]" if you try to keep a panel containing the ReportViewer hidden until after a button click.Since I couldn't find much about this topic online, I'd basically been working around this for some time until I figured out today that if you reset the ReportViewer ReportPath in the code behind in the button click (even if it's the same path as in the aspx page), you can successfully keep the ReportViewer hidden until the button click.

View 1 Replies

SQL Reporting :: Render PDF / Print Without Reportviewer?

Jul 6, 2010

I have created many reports in my ASP.Net 3.5 app's and using VB Code-behind. I have the following code that will take the report from the reportviewer and on a click of a button, export it to PDF. So now, I can hide the reportviewer and just have the button click events generate my PDF's. I do not know how to tweak this code to enable me to print directly from another button's click event without the reportviewer being visible.

[Code]....

What I am looking for is how to fill the tableadapter that I am using in the .xsd dataset file to the I do not have to incorporate reportviewers anymore?I know my code above would need to be adjusted so that its not looking at ReportViewer1 for the Report/Data... But I do not know how to do this.

View 2 Replies

SQL Reporting :: ReportViewer Data From 2 Possible Sources?

May 27, 2010

I have a ReportViewer control on an ASP.Net page and an RDLC set up that uses a TableAdapter that pulls one record. This works fine.I'd like to have the *same* RDLC use a different TableAdapter (schema of table is the exact same, but may have multiple records). I've tried putting two DataSets in my RDLC and having the code dynamically select which one to use, but it's not working quite right for me.

View 1 Replies

SQL Reporting :: Bind Data To Reportviewer?

Jul 25, 2010

i am able to bind ds to GridView. So can i also bind ds to reportViewer???I have search online and mostly require to add new DataSet(right-click project ->add new item->DataSet ) and Report(right-click project ->add new item->Report) to bulid the report.Is there a way for me to bind ds to reportViewer like i bind ds to GridView??

[Code]....

View 2 Replies

SQL Reporting :: Bind List To ReportViewer?

Jun 30, 2010

The following results in this error msg "A data soruce instance has not been supplie d for the data source 'StockStatusRow'

[Code]....

View 2 Replies

SQL Reporting :: Not Able To Bind Dataset With Reportviewer

Jan 5, 2011

i am using asp.net 2.00(visual studio 2005 std edition) i have designed a report in reportviewer which runs fine on localhost server but when deployed on server it shows no data from other computers , after searching net i found that dynamic binding of dataset and reportviewer is required , so i entered following codes (dtgraph is data table name and graph.axd is data set name ) the code gives error that dtgraph is not declared , where i should declare it / any solution

ReportViewer1.Visible =
Protected Sub Page_Load(ByVal sender
As Object,
ByVal e As System.EventArgs)
Handles Me.LoadTrue
ReportViewer1.ProcessingMode = Microsoft.Reporting.WebForms.ProcessingMode.Local
rep.Refresh()
rep.ReportPath =
Dim rep As Microsoft.Reporting.WebForms.LocalReport = ReportViewer1.LocalReportDim
rds As Microsoft.Reporting.WebForms.ReportDataSource =
New Microsoft.Reporting.WebForms.ReportDataSource()"graph.rdlc"
rds.Name =
"graph_dtgraph"
rds.Value = dtgraph.tables[0]
End
End Sub
Class

View 2 Replies

SQL Reporting :: ReportViewer Toolbar Is Disabled

Jan 25, 2010

I have a reportviewer that uses a dynamically generated RDLC (which means the RDLC is created at run-time through an XSL) to generate reports. I have no issue loading the report. My problem is with its toolbar. It is always disabled. I can't perform search, change the report size, or export the report to another file format.

View 6 Replies

SQL Reporting :: Is Possible To Center The Toolbar In ReportViewer

Jul 1, 2010

I'm using ReportViewer for the first time and was wondering if it's possible to Center the toolbar instead of leaving it left-justified?

View 2 Replies

SQL Reporting :: Set To Automatically Print Reportviewer?

Apr 6, 2010

i would be glad for a kind assistance on how to print reportviewer without showing the reportviewer or the toolbar? this is my code to bind report

[Code]....

View 2 Replies

SQL Reporting :: Display Of Image In Row Of Reportviewer?

Aug 20, 2010

I am new to this sql reporting service. But anyhow by surfing I am able to bind the report but i was stuck in image display.Anyways, i also managed that. But the real problem is whenever i was keeping a image control in rdlc report i was having session prob. If i remove the image control then as usual report works fine.either for session problem or for image display. I am keeping the image name in database but for binding the rdlc report i am using a store procedure which return the path (static) concating with the image name(kept in database).

View 3 Replies

SQL Reporting :: Receiving Parameters From ReportViewer

Jan 27, 2011

I am using Visual Studio 2005 and Report Viewer to generate a few reports that I extract from a MS SQL 2005 DB. Everything is working fine, but I want to be able to pass 2 parameters from my ASP.NET C# file to the report file (.rdlc) and show it on the generated report.

My C# file has these lines, which I believe pass the parameters off

Code:

View 2 Replies

SQL Reporting :: Set A Report In Reportviewer Control?

Jul 5, 2010

i have installed sql server 2008 with reporting service and visual studio 2008 and business intelligence when i create a new project asp.net web site, i need to use some report, so i add the control reportivewer in my page and in the property windows when i have to set the destination report, i am unable to set it, in the dropdown list does not compares nothinghow can i do?

View 2 Replies

SQL Reporting :: Can Use Reportviewer Web Control In Website

Jan 15, 2011

i want to use reportviewer web control in my web site,so add assembleis in my bin root(Microsoft.ReportViewer.Common.dll,Microsoft.ReportViewer.WebForms.dll,Microsoft.ReportingServices.ProcessingObjectModel.dll)

and add xml tags in my web.config,in localhost all thing is right but when in upload web on my server and want to view reports i have this error:System.Security.SecurityException: That assembly does not allow partially trusted callers.

I set trust level in web.config to "full",medium,high and etc but my problem didnt solve.

View 2 Replies

SQL Reporting :: ReportViewer Localization In VS2010?

Nov 11, 2010

We are building a website in ASP.NET 4 with VS2010 and we need to add some reports with ReportViewer control.

Is there any tutorial or examples that explain how to create a ReportViewer for differente languages in VS2010?

View 1 Replies

SQL Reporting :: Change The CSS In MS ReportViewer 2010?

May 19, 2010

We use MS ReportViewer version 10.0.0.0 to pull the report from SSRS to ASP page.

Part of ReportViewer source code is shown below: (thru MS Developer Tools)

<div id="ctl00_RootContent_c_ReportViewer_ctl10" style="position: relative; width: 100%; height: 100%; overflow: auto;" _events="[object Object]" control="[object Object]">

We'd like to change the style="position: relative..." to style="position: static..."

How can we do it?

It seems that whenever ReportViewer refreshes, the CSS values will be reset back to default one.

How can I create my own CSS file for ReportViewer?

View 2 Replies

SQL Reporting :: Put A Column Of Checkboxes In The ReportViewer?

Dec 1, 2010

Is it possible to put a column of checkboxes in the ReportViewer so that a user can select multiple records and then click a button to have those records processed as a group?

View 1 Replies

SQL Reporting :: While Using The Toogle For Visibility In ReportViewer?

Dec 1, 2010

I'm using the ReportViewer 2008 control embedded in a web page. One of my reports

supports drilling down through the data.

This produces a strange behaviour with the scroll position.

When I click the + icon to toggle visibility, the item clicked expands, then jumps to the top most part of the ReportViewer control.

View 1 Replies

SQL Reporting :: Navigation URL From Reportviewer To Another With Querystring?

Feb 22, 2011

i want to open Report from another Report using Jump to Navgation URL so in parent rcdl report i add this line in Jump to

[Code]....

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved