Showing posts with label Microsoft Report Viewer. Show all posts
Showing posts with label Microsoft Report Viewer. Show all posts

Tuesday, 13 May 2014

Overlapping content following the Microsoft Report Viewer control

The trick to avoid this behavior is to use the parameter: SizeToReportContent, such that:


<rsweb:ReportViewer ID="ReportViewer_Main" runat="server" Height="1250px" Width="700px" SizeToReportContent="True">
.
.
.
</rsweb:ReportViewer>








Assembly=Microsoft.ReportViewer.WebForms
Version=11.0.0.0

Sunday, 16 December 2012

image/pjpeg vs. image/jpg MIME types

If you got into this nasty issue that IE uploads your jpeg images as pjpeg (progressive jpeg).

My solution was just to ignore it when displaying it, since for instance I was displaying it on an rdlc report which does not support pjpeg


SELECT 
   CASE WHEN U.SignatureContentType = 'image/pjpeg'
       THEN 'image/jpeg' ELSE U.SignatureContentType END SignatureContentType,
   U.SignatureFileContent,..........



Another screaming developer from this issue ;)
http://www.zigpress.com/2010/01/14/non-standard-imagepjpeg-mimetype-on-ie

Wednesday, 15 August 2012

AJAX Control Toolkit Resizable Control handle disappears behinde Control

Increase X and\or Y offsets:


<ajaxToolkit:ResizableControlExtender ID="ReportViewer_Main_ResizableControlExtender" runat="server" Enabled="True" TargetControlID="ReportViewer_Main" HandleCssClass="HandleHand" HandleOffsetX ="16" HandleOffsetY ="0" MaximumHeight="600" MinimumHeight="600">



Note: Microsoft Report Viewer did not scale well when vertically re-sized, therefore I limited the re-size horizontally!