.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

Where is ReportViewer Control Box?

Posted By:      Posted Date: May 22, 2011    Points: 0   Category :ASP.Net

I am using MS VWD Express 2010 and when I go to Data toolbox, I am not seeing ReportViewer Control box? I installed ReportViewer 2010 Redistributable, still no luck. Am I missing something other add-on or steps?

View Complete Post

More Related Resource Links

(Microsoft.Reporting.WebForms.ReportViewer) is not compatible with the type of control (Microsoft.Re


 I am trying to use ReportViewer 9 in Visual Studio 8 but I get this error when I try to run the page:

The base class includes the field 'ReportViewer1', but its type (Microsoft.Reporting.WebForms.ReportViewer) is not compatible with the type of control (Microsoft.Reporting.WebForms.ReportViewer).

Please help if you can!


Does the ReportViewer control print button work inside of a modal MSIE window?

I am getting the following two error messages when using the new ReportViewer v10 control after pressing the toolbar print button. I am only seeing this error inside of a modal popup window in MSIE. The print button in a normal popup window doesn't have this error. An error occurred trying to get the current window Error: Could not complete the operation due to error 8007f305. If anyone knows of a quick fix, please let me know. Thank you. VS2010, MSIE 8, SQL Server 2008.

A reportviewer control bug to display unicode?

  1 Hello everyone, I am using VSTS 2008 + C# + .Net 3.5 + ASP.Net + IIS 7.0 with reportviewer control. The report created by reportviewer control is very simple, just a single line of Chinese characters (I wrote the line of characters statically in a textbox control, no addtional dynamically generating or fetching from database). I upload the error PDF file exported by the report viewer and screen snapshot here, and my most confusion is why the exported PDF file is just 2k bytes size? Is this issue caused by font not embedded in PDF file? Actually I did not find how to embed font in PDF file. Appreciate if anyone could give me some good ideas. This is the error PDF displayed screen snapshot, http://www.4shared.com/photo/gs_KvxSW/characterissue.html This is the error PDF itself, http://www.4shared.com/document/4Fs5rCH_/characterissue.html thanks in advance, George

Handling Errors displayed in the ReportViewer control


Hi, this kind of a two part question.  Is there any way to handle an error that is displayed inside a report, such as an error returned from a stored procedure?  I have a page with the ReportViewer control on it, but I don't really have any control over the rdl's or the sprocs, so it's possible that something will go wrong.  Currently I'm just getting the following error:

  • An error has occurred during report processing.
    • Query execution failed for dataset 'XXXX'.
      • For more information about this error navigate to the report server on the local server machine, or enable remote errors

If at all possible I would like to handle this error myself and show a message that's consistent with the rest of the site.  I've attempted to handle the ReportError event, but this seems to only fire when there's an issue with the viewer itself, not what it's showing.

Help printing .rdl reports using the asp ReportViewer control from a web page to the users client pr


I have developed a set of ssrs .rdl reports and am trying to display them from the reportviewer control embeded in my asp web page. The problem is that when I select the print icon on the reportviewer control I am prompted to install ms sql server. I need help here. What is the best way to print .rdl reports from the web page's embeded reportviewer control to the client's local network printer.





ReportViewer Control large dataset timeout


Reporting Services 2008 R2

I have a rather large report that returns around 40,000 records. (I've tried telling the business that this is not a useable report and no one is listening.)

When I execute the report through a webservice and stream it to an excel file the response time is fine.  Trying to load the report using the report viewer control it just hangs.

When I run the report through SSRS own Report Manager, I get the following error

  • An error occurred within the report server database. This may be due to a connection failure, timeout or low disk condition within the database. (rsReportServerDatabaseError)
    • Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.



This is on my own local dev machine at the minute and I've only just gotten the correct dataset it will be run against.

The stored proc runs in a couple of seconds.

Does anybody have any suggestions in what I can do?

Any help would be appreciated.



-----  Code

<rsweb:ReportViewer ID="WebRep

System.OutOfMemoryException on ReportViewer Control


I am getting 'System.OutOfMemoryException' error when running a report which is created of an rdlc file.

The report is suppose to return over 34K recordsand 23 fields

Is there a solution

ReportViewer 2010 control


Hi All

I am using VWD 2010 and I would like to use the ReportViewer control. I cannot seem to find it in the toolbox. Is there a download I need to do in order to get this control?


What is the best approach to bind data to ReportViewer control?


I have 2 approaches to bind data to ReportViewer control. Which one is better? Could you please give me some advice?

Approach 1: Using SqlDataAdapter

Dim dt As DataTable = New DataTable
Dim conn As SqlConnection = New SqlConnection(connString)
    Dim cmd As New SqlCommand(sql, conn)
    Dim adapter As New SqlDataAdapter(cmd)
Catch ex As Exception
End Try

Dim ds As New ReportDataSource(dataSourceName, dt)

Approach 2: Using SqlDataReader


Dim dt As New DataTable()
Dim conn As SqlConnection = New SqlConnection(connString)
    Dim cmd As New SqlCommand(sql, conn)
    Dim reader As SqlDataReader = cmd.ExecuteReader()

Catch ex As Exception
End Try

Dim ds As New ReportDataSource(dataSourceName, dt)


SSRS report in the center of the reportviewer control


I am trying to display the report in the middle position of the reportviwer. i have an aspx page having reportviewer control. While trying to display the report in the center position it goes to left. becuase of the width of the report is small it goes to left of the control. What property need to set to diplay the report in center position of the reportviewer.

If any proprty please sepcify...

Thumbnail for report with ReportViewer control


Hi all

I have a webpage where I have implemented a ReportViewer control. The report has been designed in BIDS and the RDL file has been imported into SSRS. I can view the report on my web page and all is right with the world.

Except now I want to create a "thumbnail" of the rendered report, so I can have several "thumbnails" for reports all on one page. I will use an anchor with a javascripted onclick event to show the full size report in a new window.

I've tried the Percent Zoom to reduce the view of the report to 25%. This works and I can remove the toolbars just fine. However the "25% Zoom" report seems to be presented within the "full page" of the designed report. In other words, the reports is zooming smaller, but the underlying page space for the report remains the same size. This, then, produces scroll bars along with the smaller image.

I would like to produce that smaller report image without the cooresponding scroll bars, or in some other way produce a thumbnail of the report.



Adding Dynamic Rows in ASP.NET GridView Control with TextBoxes and with Delete functionality

In my previous examples, I have demonstrated on how to add dynamic rows in GridView control with TextBoxes and how to save the values into the database. Now, seems that most of the developers are asking if how to add a delete functionality with it. So in this example, I'm going to show on how to delete a certain row in the dynamic GridView with TextBoxes.

Accessing the different controls inside a GridView control

how we can access a particular control which resides inside a GridView control. In this article I will show you how you can access different controls inside a GridView control. We will see how we can access a TextBox control, a DropDownList control and a ListBox control. If you are working with ASP.NET 1.X then you might want to check out my article Accessing Different Controls Inside a DataGrid.

In-Depth look at the GridView Control

In the last article we looked at few of the new controls available in Asp.net 2.0. We also talked about Grid View Control which has replaced the Asp.net 1.1 DataGrid control for good. In this article we will examine more features of the Grid View control. In this article we will see some of the common operations that can be performed using the GridView control. Apart from these operations there are many more functions that can be performed on the control and which we will see in the later articles

ASP.NET repeater control - databind with style

even used the inline editing features, which I at the time thought was the coolest way possible to write ASP.NET code ( I managed to write code to hide all other rows and only show the current one - the row being edited). With a nice looking EditTemplate it looked indeed very slick but it really turned into giant and hard to manage code behind files.

Creating Paging for a Repeater Control

A common question is "How do I implement paging within a Repeater?" Although the beauty of the Repeater control is its flexibility, you're on your own for building most functions. ASP.NET 2.0 has included some new controls that provide paging, as does the DataGrid in ASP.NET 1.1. However, this tip shows you how to roll your own paging for a simple data viewer.

Using TemplateFields in the GridView Control

The GridView is composed of a set of fields that indicate what properties from the DataSource are to be included in the rendered output along with how the data will be displayed. The simplest field type is the BoundField, which displays a data value as text. Other field types display the data using alternate HTML elements. The CheckBoxField, for example, renders as a checkbox whose checked state depends on the value of a specified data field; the ImageField renders an image whose image source is based upon a specified data field. Hyperlinks and buttons whose state depends on an underlying data field value can be rendered using the HyperLinkField and ButtonField field types.
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend