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

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

reduce width of right margin in rdlc

Posted By:      Posted Date: October 10, 2010    Points: 0   Category :.NET Framework

how can we reduce the width of right margin in rdlc report




View Complete Post

More Related Resource Links

Reduce ASP.NET Page size and complexity using JQuery

This is my first post on asp.net blog. ASP.NET Ajax and JQuery are two different ajax framework. In this post I will show, how we can enhance gridview using ASP.NET Ajax and JQuery. I also compare the implementation of these frameworks. In next posts i will explain more about JQuery and ASP.NET Ajax and also tell you "How to combine the power of both framework". My Future post will related to ASP.NET and related frameworks.

left right margin


Hiii Coders ,

I have created my website. Now what is my requirement is that on higher resolution it should be centralized means margin from both sides should be same.

How can i get it working

plz provide me some code snippet plz

thanx and regards

Reduce Image Size


How to reduce the image weight using asp.net, without lose of image quality and image pixels. For example i have an image with the size of 4 MB (3024*2045), so how to reduce the image weight ie 4 MB to 1 MB without lose quality in the same pixels ie(3024 * 2045) using asp.net.

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?

Convert 2005 RDLC to 2008 using VS2010


Hi and thanks.


I'm getting an error on serveral reports that I built  in VWD2005 (express) using the reportviewer control.  Trying to edit the rdlc file in VS2010, VS2010 asks if i want to convert the file to RDLC 2008 format and I click ok.  When I build the site, I get this error (and of course also when the report is ran):


Error 1 The report definition is not valid.  Details: The report definition has an invalid target namespace 'http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition' which cannot be upgraded. C:\inetpub\wwwroot\mastercardlcm\Reports\WorkLists\OpenSRStatus.rdlc 1 


Here is my web.config concerning the RDLC assemblies, etc.

			<add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" validate="false"/>
		<compilation debug="true">
				<add assembly="Microsoft.ReportViewer.WebForms, Version=, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
				<add assembly="Microsof

Adding Totals to RDLC Matrix


I'm using a local RDLC report in VS2008 / .NET 3.5 which includes a Matrix.  It works fine and shows its corresponding Rows, Columns, and Data values as specified.

How can I add row totals / column totals in order to show sum of Data values both horizontally and vertically?

RDLC Rows and colums totals



I want to  show the row totals and column totals in the rdlc matrix. Please let me know how to do this.

For example:

                 2006  2007  2008  2009  Total

A                10      20      30      40       100

B                20      30      10      10       70  

Total          30      50      40      50       170


'System OutOfMemory Exception' while using rdlc in Windows application

hi Everyone , I am Using Reporting Service (.rdlc) in my Windows application , i am getting Error System OutOfMemory Exception Like "an error occured during local report processing An Unexpected error occured in Report Processing Exception of type 'System OutOfMemory Exception'Was Thrown " what to do Please anyone help me ... Advance Thanks Anilmarnal

How do you use a resource as a value for the Margin property?

Hello, How do you use a resource as a value for the Margin property? I have the following resource defined: <Window.Resources> <sys:Double x:Key="AppBorderSize">30</sys:Double> </Window.Resources> I would like to use the "AppBorderSize" resource in the following: <Grid Margin="{StaticResource AppBorderSize}, 0, {StaticResource AppBorderSize}, 0"> However, the above it not allowed. The following work fine: <RepeatButton Width="{StaticResource AppBorderSize}" Height="{StaticResource AppBorderSize}" /> Regards, Robert  

Programmatically Generated Reports (RDLC) ASP.NET C#

Good Day,   I been looking for a day now and I couldn't find a good source of information. I have a one of a kind report wherein the RDLC file including all controls are programmatically generated (system generated)  by one of my asp.net page. All fields and its values to be displayed on the RDLC file are coming a stored procedure. On my stored procedure I'm using a temp table for example #MyTable and its columns can adjust programmatically/automatically base on date range. BTW I'm using C# code to generate the RDLC file and preview it on the report viewer of a page. Sample: Date Range: 01/01/2008  to 12/31/2009  My temp table may look like below AssetCode, Description, Class,  Jan2008, Feb2008, Mar2008 --> until column reach Dec2009 AAAA00001, AAAAAAA,FF, 0.00, 0.00,1,00.00 --> some month#### column may not or may contain value base on my formula. AAAA00002, BBBBBBB,FF, 0.00, 1.00,1,00.00 --> some month#### column may not or may contain value base on my formula. AAAA00003, CCCCCCC,CE, 1.00, 1.00,1,00.00 --> some month#### column may not or may contain value base on my formula. I have no problem in retrieving all data on SQL Server using temp table and showing it on a system generated rdlc file even if I'm using

Disk Stripe Width

Since SQL Server uses 64K pages, isn't it MORE advantageous to use a larger stripe width, say, 1MB?  This would allow for multi-page reads. Doc  

getting the width of a text

a markup extension for getting the width from the number of characters in a text   public class TextWidthExtension : MarkupExtension { static TextWidthExtension() { try { var culture = CultureInfo.GetCultureInfo("en-us"); var font = Application.Current.TryFindResource("_Font") as FontFamily; var typeface = new Typeface(font, FontStyles.Normal, FontWeights.Normal, new FontStretch()); double fontsize = (double)Application.Current.TryFindResource("_FontSize"); double sum = 0; for (char c = ' '; c <= '~'; c++) { var formattedText = new FormattedText(c.ToString(), culture, FlowDirection.LeftToRight, typeface, fontsize, Brushes.Black); sum += formattedText.WidthIncludingTrailingWhitespace; } AverageWidth = (sum / ('~' - ' ')); typeface = new Typeface(font, FontStyles.Normal, FontWeights.Bold, new FontStretch()); sum = 0; for (char c = ' '; c <= '~'; c++) { var formattedText = new FormattedText(c.ToString(), culture, FlowDirection.LeftToRight, typeface, fontsize, Brushes.Black); sum += formattedText.WidthIncludingTrailingWhitespace; } AverageWidthBold = (sum / ('~' - ' ')); } catch { } }

Does SharePoint support the Full Width Asterisk within urls?

The Full Width Asterisk (U+FF0A) can be entered for folder names in document libraries and file names.  Yet when you attempt to open files with this character, or files in a folder with this character, the url does not resolve. I have tried all of these, but none work. http://server/Shared%20Documents/%EF%BC%8A/Test%20Document.txt http://server/Shared%20Documents/%uFF0A/Test%20Document.txt http://server/Shared%20Documents/*/Test%20Document.txt

set textbox size dynamically in RDLC

in Hi, Can some one tell me how to set the size and location of the text box in RDLC dynamically. I cannot access it code, i cannot use parameters or expressions to set this. Thanks

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
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