.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

How to shrink RDLC report on runtime?

Posted By:      Posted Date: April 10, 2011    Points: 0   Category :Windows Application


I have an rdlc report. I have some text boxes over it. I hide and show them based on specific values. But the problem is, when a text box disappears, there comes blank space in report that looks so weired. Please suggest that is there any way that I hide the text box and the other text box come in its place and there will be no blank spaces occur in my report?


Please helpppppppp ASAP ....

View Complete Post

More Related Resource Links

RDLC Report Hide Export Option

The article RDLC Report Hide Export Option was added by mandandeo on Sunday, August 15, 2010.

protected void ReportViewer1_PreRender(object sender, EventArgs e) {DisableFormat(ReportViewer1, "Pdf"); }protected void DisableFormat(ReportViewer viewer, string formatName) {const System.Reflection.BindingFlags Flags =System.Reflection.BindingFlags

Unwanted page breaks in rdlc report



I hav a report that has a table group =Fields!Location.Value

and in the cells I do this

=Avg(IIF(Fields!Contaminant.Value = "Element1", cDbl(Fields!Value.Value), cDbl(0)))

what I am getting is 1 row for each location then there is a pagebreak! what i want is the next location right below the  first I looked through for all the page breaks with no luck. Any ideas?

Struggling to assign the parameter value for the RDLC report, VS2010

 Struggling to assign the parameter value for the report, I saw so many helps in this forum. seems i have the same error comes again after i click the button. pls help what i miss in the below?   Following is my .XSD (DataSet) SELECT     [Order Details].OrderID, [Order Details].ProductID, Products.ProductName, [Order Details].UnitPrice, [Order Details].Quantity, [Order Details].Discount,                       CONVERT(money, ([Order Details].UnitPrice * [Order Details].Quantity) * (1 - [Order Details].Discount) / 100) * 100 AS ExtendedPriceFROM         Products INNER JOIN                      [Order Details] ON Products.ProductID = [Order Details].ProductID <div> <asp:Label ID="lblMessage" runat="server" Text="Label"></asp:Label> <asp:DropDownList ID="DropDownList1" runat="server" DataSourceID="SqlDataSource1" DataTextField="OrderID" DataValueField="OrderID"> </asp:DropDownList> <asp:Button ID="Button1" runat="s

RDLC Report Viewer

I want to Export Rdlc Report into PDF format, programmatically. How can i do that, Please help me Thanks in advance Bheemidi.  

Multiple Rdlc report in one reportviewer.

Hi, I have multiple reports that take the same parameters. Need to create a master report with all the reports merged together. I dont want to copy paste the rdlc files into one large file. found a control by Telerik called ReportBook but it costs money!! http://www.telerik.com/help/reporting/designing-reports-general-explanation.html anyone knows something similar? or am i missing something very obvious? using visual studio 2005... Cheers will subreports solve my problem? not sure how these work. so say i have a report that lists employers and i create a subreport that lists all employees for a particular empoyer. is it then possible on one rdlc to have the list of employers and a bunch of subreports for each employer's employees?

.RDLC report layout...huge problem!!

 Hi!I'm designing a layout for a report in VS2008 using SSRS/RDLC format. And every time I setup a part of that report i test it on my workstation to see if everything is ok. But, today, i finished the first page of that report and uploaded it to my hosting server (were it's going to be used), and when i press the button to convert the report to .pdf and download it the layout is completely ruined :-/When i do the same thing in my workstation every thing 'comes out' beautifully, but up on the server it doesn't :(Why is that happening? Can anyone help me?

rdlc report parameter passing

hi i am working on report project i am new in .net will some one help how to pass parameters in rdlc reports . the options for reprt parameter is not available in visual studio 2010 .Please help someone ..

rdlc report list inside another list

HiI created a list that will show several lines of data in a report, but each of those lines have between 1 to 5 records of another table in the DB. So, what i would like to know if it is possible to add a list inside another list. And if it is, how can the child list get the correspondent id from the mother list.Small example of what i want to do:Can anyone help me?

How to display middle value in a RDLC report where count equals 3?

I'm currently using an RDLC report and ReportViewer control to display a report to the user. The report needs to be formatted in a certain way so just creating a table and iterating through won't work. My database is set up to be pretty normalized. For example, two tables I have are a "PersonalData" table with a ID and a "PhoneNumbers" table with a ContractorID that relate to the first table. The "PhoneNumbers" table has essentially two columns of data: Number and Type. Each contractor in the PersonalData table can have multiple phone numbers (home, cell, work, etc.). I'm also passing the ContractorID into the report so I know which records to grab. On the report, I need to display each phone number in a separate text box layed out like so:Home Phone: (555) 555-5555             Cell Phone: (444) 444-4444    Daytime/Local Phone: (333) 333-3333   E-Mail Address: me@somewhere.com  The records are inserted in the database in the following order: Home, Cell, Daytime/Local. I can grab the home phone since I know it will always be the first record in the database (required field) by using:=First(Fields!Number.Value, "DataSet1_PhoneInformation")  And either the Daytime/Local or Cell depending on the element count by using the Last() function. The problem is grabbing and displayi

Three subreports in a main report(RDLC file)

Hi All, I have one main report(rdlc file) which contains three subreports(mapped to three different rdlc files). The functionality am working in is that in a button click(with parameter passing) the main report loads. The main report contains three columns which is of type link. Each column is mapped to a subreport. Once the link in a column is clicked the main report along with the respective subreport should get displayed. Again, if the link field of another column of the main report is clicked, the main report and its respective subreport should open and the previously opened subreport for the other column should not show. The visibility of the Subreports must change according to the click of the link in the main report. I have declared SubReportProcessingEvent as a sub report processing handler shown below. AddHandler rvCompareLabels.LocalReport.SubreportProcessing, AddressOf SubReportProcessingEvent Public Sub SubReportProcessingEvent(ByVal sender As Object, ByVal e As SubreportProcessingEventArgs) End Sub I understand that in this method i have to do the code behind for displaying the subreports. But am confused as to how can i identify which link is being clicked and how am i supposed to add the datasource  for the subreport that should open. How will i give the condition such that  for the link that is clicked only the subreport mapped to that link opens.

It is possible Html Formatted Textbox in RDLC (microsoft Report Viewer)

I am trying to create a rdlc report.   One of the fields in the report contains HTML formatted information. e.g. (It's a text field which is populated from a Rich Text Editor similar to one we have here).   When I put the content of this, in a text box of RDLC file, it shows HTML instead of formatted output.   I have been doing this in Crystal Reports using Text Format tag in there.   Is there some similar option available for RDLC text box too? I could not find any.  

Create Report.rdlc in vb.net dynamically


I' m using Microsoft Reporting. Is there a way to create Report .rdlc file Dynamically on the fly? I' m using VB.net.

Any help can be appreciated.




RDLC report times out after exporting


 I have a VS Studio 2008 application that uses the report viewer control in local mode. The session times out after a user exports a report in .pdf format. Can anyone suggest a remedy to this problem? Thanks

Can I change report SQL Statement at runtime?

I need to change  report SQL Statement  at runtime. I need to do this because I have too much parameters and it's simple to me to change SQL statement.

RDLC report Text box value formating


Hi all,

My rdlc reports showing decimal value like 25.5000  . I want to show it in 2 decimal point in report ( Should 25.50 )

pls Let me know how i can do it.

Thank you

rdlc report


how we can handle right margin in rdlc




Write Subscript in Rdlc report



I want to write subscript data in my rdlc report.We have used a peculiar format for saving data. That is if the data is as ns(M)g in database then in report the letter g should apper as subscript. That is any letter following the () sign should appear as subscript.

I am stuck up with this. Can can ayone of you haep me in this matter? I am using Visual studio 2008 and SQL server 2005.

Thanking You

Swapnil Borkar.

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