Funny Bug of Line Object in RS 2008

If you draw a line from right hand to left hand in a report and deploy it to RS 2008 report server, you'll find a funny bug.



How do the two lines look like in report server 2008:


rel="File-List" href="file:///C:%5CUsers%5CJAMESZ%7E1.SSW%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml"> rel="themeData" href="file:///C:%5CUsers%5CJAMESZ%7E1.SSW%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx"> rel="colorSchemeMapping" href="file:///C:%5CUsers%5CJAMESZ%7E1.SSW%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml">

The properties of both lines in designer looks ok:


The difference is in the .rdl file:

rel="File-List" href="file:///C:%5CUsers%5CJAMESZ%7E1.SSW%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml"> rel="themeData" href="file:///C:%5CUsers%5CJAMESZ%7E1.SSW%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx"> rel="colorSchemeMapping" href="file:///C:%5CUsers%5CJAMESZ%7E1.SSW%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml">

<Line Name="Line_drawLeftToRight">

          <Top>0.95833in</Top>

          <Left>0.125in</Left>

          <Height>0in</Height>

          <Width>6.25in</Width>

          <ZIndex>3</ZIndex>

          <Style>

            <Border>

              <Style>Solid</Style>

            </Border>

          </Style>

        </Line>

        <Line Name="Line_drawRightToLeft">

          <Top>1.11125in</Top>

          <Left>6.3925in</Left>

          <Height>0in</Height>

          <Width>-6.2675in</Width>

          <ZIndex>4</ZIndex>

          <Style>

            <Border>

              <Style>Solid</Style>

            </Border>

          </Style>

        </Line>

obviously, the report server 2008 has a bug to process negative value of the width property. While the report looks well in report server 2005. MS have made a architecture re-design of reporting services in RS 2008 but this also means introducing some new bugs :-)


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值