<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>RSinteract Development Blog &#187; Code</title>
	<atom:link href="http://rsinteract.wordpress.com/category/code/feed/" rel="self" type="application/rss+xml" />
	<link>http://rsinteract.wordpress.com</link>
	<description>Extending SQL Server Reporting Services to end-users</description>
	<lastBuildDate>Fri, 27 Jan 2012 18:31:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='rsinteract.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>RSinteract Development Blog &#187; Code</title>
		<link>http://rsinteract.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://rsinteract.wordpress.com/osd.xml" title="RSinteract Development Blog" />
	<atom:link rel='hub' href='http://rsinteract.wordpress.com/?pushpress=hub'/>
		<item>
		<title>No underline shown on links, Action, Hyperlink, Drillthrough in Reporting Services R2 and Denali</title>
		<link>http://rsinteract.wordpress.com/2011/09/19/no-underline-shown-on-links-action-hyperlink-drillthrough-in-reporting-services-r2-and-denali/</link>
		<comments>http://rsinteract.wordpress.com/2011/09/19/no-underline-shown-on-links-action-hyperlink-drillthrough-in-reporting-services-r2-and-denali/#comments</comments>
		<pubDate>Mon, 19 Sep 2011 14:55:05 +0000</pubDate>
		<dc:creator>James Morris</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Reporting Services]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[RDL]]></category>
		<category><![CDATA[SQL Denali]]></category>
		<category><![CDATA[SQL Server 2008 R2]]></category>

		<guid isPermaLink="false">https://rsinteract.wordpress.com/?p=373</guid>
		<description><![CDATA[If you’re using the ReportViewer 8.0 web control for Reporting Services 2005 in your web application and pointing at Report Server version R2 or Denali then you may see this bug – some font properties such as Color and TextDecoration do not render on an Action element (used for BookmarkLink, Hyperlink and Drillthrough). To get [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rsinteract.wordpress.com&amp;blog=19131658&amp;post=373&amp;subd=rsinteract&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you’re using the ReportViewer 8.0 web control for Reporting Services 2005 in your web application and pointing at Report Server version R2 or Denali then you may see this bug – some font properties such as Color and TextDecoration do not render on an Action element (used for BookmarkLink, Hyperlink and Drillthrough). To get round this you can turn your property values to expressions e.g. change:</p>
<blockquote><p><span style="font-family:consolas;color:blue;font-size:9.5pt;">&lt;</span><span style="font-family:consolas;color:#a31515;font-size:9.5pt;">TextDecoration</span><span style="font-family:consolas;color:blue;font-size:9.5pt;">&gt;</span><span style="font-family:consolas;font-size:9.5pt;">Underline<span style="color:blue;">&lt;/</span><span style="color:#a31515;">TextDecoration</span><span style="color:blue;">&gt;</span> </span></p></blockquote>
<p>to:</p>
<blockquote><p><span style="font-family:consolas;color:blue;font-size:9.5pt;">&lt;</span><span style="font-family:consolas;color:#a31515;font-size:9.5pt;">TextDecoration</span><span style="font-family:consolas;color:blue;font-size:9.5pt;">&gt;</span><span style="font-family:consolas;font-size:9.5pt;">=&quot;Underline&quot;<span style="color:blue;">&lt;/</span><span style="color:#a31515;">TextDecoration</span><span style="color:blue;">&gt;</span> </span></p></blockquote>
<p>Thanks to <a href="http://social.msdn.microsoft.com/profile/jhonnygaleano/" target="_blank">JhonnyGaleano</a> for the tip-off <a href="http://social.msdn.microsoft.com/Forums/en-US/sqlreportingservices/thread/5a74fffe-4d6c-417a-acac-6e6a6a71c40c/" target="_blank">on msdn forums</a></p>
<p>Here’s the full, fixed RDL for a Textbox with Action and Drillthrough:</p>
<blockquote><p><span style="font-family:consolas;color:blue;font-size:9.5pt;">&lt;</span><span style="font-family:consolas;color:#a31515;font-size:9.5pt;">Textbox</span><span style="font-family:consolas;color:red;font-size:9.5pt;">Name</span><span style="font-family:consolas;color:blue;font-size:9.5pt;">=</span><span style="font-family:consolas;font-size:9.5pt;">&#8220;<span style="color:blue;">section_0_FullName</span>&#8220;<span style="color:blue;">&gt;</span></span></p>
<p><span style="font-family:consolas;color:blue;font-size:9.5pt;"> &lt;</span><span style="font-family:consolas;color:#a31515;font-size:9.5pt;">Style</span><span style="font-family:consolas;color:blue;font-size:9.5pt;">&gt;</span></p>
<p><span style="font-family:consolas;color:blue;font-size:9.5pt;">  &lt;</span><span style="font-family:consolas;color:#a31515;font-size:9.5pt;">BorderColor</span><span style="font-family:consolas;color:blue;font-size:9.5pt;">&gt;</span></p>
<p><span style="font-family:consolas;color:blue;font-size:9.5pt;">   &lt;</span><span style="font-family:consolas;color:#a31515;font-size:9.5pt;">Default</span><span style="font-family:consolas;color:blue;font-size:9.5pt;">&gt;</span><span style="font-family:consolas;font-size:9.5pt;">#2F5098<span style="color:blue;">&lt;/</span><span style="color:#a31515;">Default</span><span style="color:blue;">&gt;</span></span></p>
<p><span style="font-family:consolas;font-size:9.5pt;">  </span><span style="font-family:consolas;color:blue;font-size:9.5pt;">&lt;/</span><span style="font-family:consolas;color:#a31515;font-size:9.5pt;">BorderColor</span><span style="font-family:consolas;color:blue;font-size:9.5pt;">&gt;</span></p>
<p><span style="font-family:consolas;color:blue;font-size:9.5pt;">  &lt;</span><span style="font-family:consolas;color:#a31515;font-size:9.5pt;">BorderStyle</span><span style="font-family:consolas;color:blue;font-size:9.5pt;">&gt;</span></p>
<p><span style="font-family:consolas;color:blue;font-size:9.5pt;">   &lt;</span><span style="font-family:consolas;color:#a31515;font-size:9.5pt;">Default</span><span style="font-family:consolas;color:blue;font-size:9.5pt;">&gt;</span><span style="font-family:consolas;font-size:9.5pt;">Solid<span style="color:blue;">&lt;/</span><span style="color:#a31515;">Default</span><span style="color:blue;">&gt;</span></span></p>
<p><span style="font-family:consolas;font-size:9.5pt;">   </span><span style="font-family:consolas;color:blue;font-size:9.5pt;">&lt;</span><span style="font-family:consolas;color:#a31515;font-size:9.5pt;">Right</span><span style="font-family:consolas;color:blue;font-size:9.5pt;">&gt;</span><span style="font-family:consolas;font-size:9.5pt;">None<span style="color:blue;">&lt;/</span><span style="color:#a31515;">Right</span><span style="color:blue;">&gt;</span></span></p>
<p><span style="font-family:consolas;font-size:9.5pt;"><span style="color:blue;">  </span></span><span style="font-family:consolas;color:blue;font-size:9.5pt;">&lt;/</span><span style="font-family:consolas;color:#a31515;font-size:9.5pt;">BorderStyle</span><span style="font-family:consolas;color:blue;font-size:9.5pt;">&gt;</span></p>
<p><span style="font-family:consolas;color:blue;font-size:9.5pt;">  </span><span style="font-family:consolas;color:blue;font-size:9.5pt;">&lt;</span><span style="font-family:consolas;color:#a31515;font-size:9.5pt;">BorderWidth</span><span style="font-family:consolas;color:blue;font-size:9.5pt;">&gt;</span></p>
<p><span style="font-family:consolas;color:blue;font-size:9.5pt;">   </span><span style="font-family:consolas;color:blue;font-size:9.5pt;">&lt;</span><span style="font-family:consolas;color:#a31515;font-size:9.5pt;">Default</span><span style="font-family:consolas;color:blue;font-size:9.5pt;">&gt;</span><span style="font-family:consolas;font-size:9.5pt;">0.1mm<span style="color:blue;">&lt;/</span><span style="color:#a31515;">Default</span><span style="color:blue;">&gt;</span></span></p>
<p><span style="font-family:consolas;font-size:9.5pt;">  </span><span style="font-family:consolas;color:blue;font-size:9.5pt;">&lt;/</span><span style="font-family:consolas;color:#a31515;font-size:9.5pt;">BorderWidth</span><span style="font-family:consolas;color:blue;font-size:9.5pt;">&gt;</span></p>
<p><span style="font-family:consolas;color:blue;font-size:9.5pt;">  &lt;</span><span style="font-family:consolas;color:#a31515;font-size:9.5pt;">BackgroundColor</span><span style="font-family:consolas;color:blue;font-size:9.5pt;">&gt;</span><span style="font-family:consolas;font-size:9.5pt;">=IIF(RowNumber(Nothing) Mod 2, &#8220;#ffffff&#8221;, &#8220;#faf9f7&#8243;)</span></p>
<p><span style="font-family:consolas;font-size:9.5pt;">  <span style="color:blue;">&lt;/</span><span style="color:#a31515;">BackgroundColor</span><span style="color:blue;">&gt;</span></span></p>
<p><span style="font-family:consolas;color:blue;font-size:9.5pt;">  &lt;</span><span style="font-family:consolas;color:#a31515;font-size:9.5pt;">FontStyle</span><span style="font-family:consolas;color:blue;font-size:9.5pt;">&gt;</span><span style="font-family:consolas;font-size:9.5pt;">=&#8221;Italic&#8221;<span style="color:blue;">&lt;/</span><span style="color:#a31515;">FontStyle</span><span style="color:blue;">&gt;</span></span></p>
<p><span style="font-family:consolas;color:blue;font-size:9.5pt;">  &lt;</span><span style="font-family:consolas;color:#a31515;font-size:9.5pt;">FontFamily</span><span style="font-family:consolas;color:blue;font-size:9.5pt;">&gt;</span><span style="font-family:consolas;font-size:9.5pt;">=&#8221;Tahoma&#8221;<span style="color:blue;">&lt;/</span><span style="color:#a31515;">FontFamily</span><span style="color:blue;">&gt;</span></span></p>
<p><span style="font-family:consolas;color:blue;font-size:9.5pt;">  &lt;</span><span style="font-family:consolas;color:#a31515;font-size:9.5pt;">FontSize</span><span style="font-family:consolas;color:blue;font-size:9.5pt;">&gt;</span><span style="font-family:consolas;font-size:9.5pt;">=&#8221;8pt&#8221;<span style="color:blue;">&lt;/</span><span style="color:#a31515;">FontSize</span><span style="color:blue;">&gt;</span></span></p>
<p><span style="font-family:consolas;color:blue;font-size:9.5pt;">  &lt;</span><span style="font-family:consolas;color:#a31515;font-size:9.5pt;">FontWeight</span><span style="font-family:consolas;color:blue;font-size:9.5pt;">&gt;</span><span style="font-family:consolas;font-size:9.5pt;">=&#8221;Bold&#8221;<span style="color:blue;">&lt;/</span><span style="color:#a31515;">FontWeight</span><span style="color:blue;">&gt;</span></span></p>
<p><span style="font-family:consolas;color:blue;font-size:9.5pt;">  &lt;</span><span style="font-family:consolas;color:#a31515;font-size:9.5pt;">Format</span><span style="font-family:consolas;color:blue;font-size:9.5pt;"> /&gt;</span></p>
<p><span style="font-family:consolas;color:blue;font-size:9.5pt;">  &lt;</span><span style="font-family:consolas;color:#a31515;font-size:9.5pt;">TextDecoration</span><span style="font-family:consolas;color:blue;font-size:9.5pt;">&gt;</span><span style="font-family:consolas;font-size:9.5pt;">=&#8221;Underline&#8221;<span style="color:blue;">&lt;/</span><span style="color:#a31515;">TextDecoration</span><span style="color:blue;">&gt;</span></span></p>
<p><span style="font-family:consolas;font-size:9.5pt;">  </span><span style="font-family:consolas;color:blue;font-size:9.5pt;">&lt;</span><span style="font-family:consolas;color:#a31515;font-size:9.5pt;">TextAlign</span><span style="font-family:consolas;color:blue;font-size:9.5pt;">&gt;</span><span style="font-family:consolas;font-size:9.5pt;">Right<span style="color:blue;">&lt;/</span><span style="color:#a31515;">TextAlign</span><span style="color:blue;">&gt;</span></span></p>
<p><span style="font-family:consolas;font-size:9.5pt;"><span style="color:blue;">  </span></span><span style="font-family:consolas;color:blue;font-size:9.5pt;">&lt;</span><span style="font-family:consolas;color:#a31515;font-size:9.5pt;">Color</span><span style="font-family:consolas;color:blue;font-size:9.5pt;">&gt;</span><span style="font-family:consolas;font-size:9.5pt;">=&#8221;#00ff00&#8243;<span style="color:blue;">&lt;/</span><span style="color:#a31515;">Color</span><span style="color:blue;">&gt;</span></span></p>
<p><span style="font-family:consolas;font-size:9.5pt;">  </span><span style="font-family:consolas;color:blue;font-size:9.5pt;">&lt;</span><span style="font-family:consolas;color:#a31515;font-size:9.5pt;">PaddingLeft</span><span style="font-family:consolas;color:blue;font-size:9.5pt;">&gt;</span><span style="font-family:consolas;font-size:9.5pt;">1mm<span style="color:blue;">&lt;/</span><span style="color:#a31515;">PaddingLeft</span><span style="color:blue;">&gt;</span></span></p>
<p><span style="font-family:consolas;font-size:9.5pt;"><span style="color:blue;">  </span></span><span style="font-family:consolas;color:blue;font-size:9.5pt;">&lt;</span><span style="font-family:consolas;color:#a31515;font-size:9.5pt;">PaddingRight</span><span style="font-family:consolas;color:blue;font-size:9.5pt;">&gt;</span><span style="font-family:consolas;font-size:9.5pt;">1mm<span style="color:blue;">&lt;/</span><span style="color:#a31515;">PaddingRight</span><span style="color:blue;">&gt;</span></span></p>
<p><span style="font-family:consolas;font-size:9.5pt;"><span style="color:blue;">  </span></span><span style="font-family:consolas;color:blue;font-size:9.5pt;">&lt;</span><span style="font-family:consolas;color:#a31515;font-size:9.5pt;">PaddingTop</span><span style="font-family:consolas;color:blue;font-size:9.5pt;">&gt;</span><span style="font-family:consolas;font-size:9.5pt;">0.5mm<span style="color:blue;">&lt;/</span><span style="color:#a31515;">PaddingTop</span><span style="color:blue;">&gt;</span> </span></p>
<p class="MsoNormal" style="line-height:normal;"><span style="font-family:consolas;color:blue;font-size:9.5pt;">  &lt;</span><span style="font-family:consolas;color:#a31515;font-size:9.5pt;">PaddingBottom</span><span style="font-family:consolas;color:blue;font-size:9.5pt;">&gt;</span><span style="font-family:consolas;font-size:9.5pt;">1mm<span style="color:blue;">&lt;/</span><span style="color:#a31515;">PaddingBottom</span><span style="color:blue;">&gt;</span> </span></p>
<p class="MsoNormal" style="line-height:normal;"><span style="font-family:consolas;color:blue;font-size:9.5pt;">&lt;/</span><span style="font-family:consolas;color:#a31515;font-size:9.5pt;">Style</span><span style="font-family:consolas;color:blue;font-size:9.5pt;">&gt;</span></p>
<p class="MsoNormal" style="line-height:normal;"><span style="font-family:consolas;color:blue;font-size:9.5pt;">&lt;</span><span style="font-family:consolas;color:#a31515;font-size:9.5pt;">Action</span><span style="font-family:consolas;color:blue;font-size:9.5pt;">&gt;</span></p>
<p class="MsoNormal" style="line-height:normal;"><span style="font-family:consolas;color:blue;font-size:9.5pt;">&lt;</span><span style="font-family:consolas;color:#a31515;font-size:9.5pt;">Drillthrough</span><span style="font-family:consolas;color:blue;font-size:9.5pt;">&gt;</span></p>
<p class="MsoNormal" style="line-height:normal;"><span style="font-family:consolas;color:blue;font-size:9.5pt;">  &lt;</span><span style="font-family:consolas;color:#a31515;font-size:9.5pt;">ReportName</span><span style="font-family:consolas;color:blue;font-size:9.5pt;">&gt;</span><span style="font-family:consolas;font-size:9.5pt;">/RSinteract Samples/Orders by Category<span style="color:blue;">&lt;/</span><span style="color:#a31515;">ReportName</span><span style="color:blue;">&gt;</span> </span></p>
<p class="MsoNormal" style="line-height:normal;"><span style="font-family:consolas;color:blue;font-size:9.5pt;">  &lt;</span><span style="font-family:consolas;color:#a31515;font-size:9.5pt;">Parameters</span><span style="font-family:consolas;color:blue;font-size:9.5pt;">&gt;</span></p>
<p class="MsoNormal" style="line-height:normal;"><span style="font-family:consolas;color:blue;font-size:9.5pt;">   &lt;</span><span style="font-family:consolas;color:#a31515;font-size:9.5pt;">Parameter</span><span style="font-family:consolas;color:red;font-size:9.5pt;">Name</span><span style="font-family:consolas;color:blue;font-size:9.5pt;">=</span><span style="font-family:consolas;font-size:9.5pt;">&#8220;<span style="color:blue;">FullName</span>&#8220;<span style="color:blue;">&gt;</span> </span></p>
<p class="MsoNormal" style="line-height:normal;"><span style="font-family:consolas;color:blue;font-size:9.5pt;">    &lt;</span><span style="font-family:consolas;color:#a31515;font-size:9.5pt;">Value</span><span style="font-family:consolas;color:blue;font-size:9.5pt;">&gt;</span><span style="font-family:consolas;font-size:9.5pt;">=Fields!FullName.Value<span style="color:blue;">&lt;/</span><span style="color:#a31515;">Value</span><span style="color:blue;">&gt;</span> </span></p>
<p class="MsoNormal" style="line-height:normal;"><span style="font-family:consolas;color:blue;font-size:9.5pt;">   &lt;/</span><span style="font-family:consolas;color:#a31515;font-size:9.5pt;">Parameter</span><span style="font-family:consolas;color:blue;font-size:9.5pt;">&gt;</span></p>
<p class="MsoNormal" style="line-height:normal;"><span style="font-family:consolas;color:blue;font-size:9.5pt;">   &lt;/</span><span style="font-family:consolas;color:#a31515;font-size:9.5pt;">Parameters</span><span style="font-family:consolas;color:blue;font-size:9.5pt;">&gt;</span></p>
<p class="MsoNormal" style="line-height:normal;"><span style="font-family:consolas;color:blue;font-size:9.5pt;">  &lt;/</span><span style="font-family:consolas;color:#a31515;font-size:9.5pt;">Drillthrough</span><span style="font-family:consolas;color:blue;font-size:9.5pt;">&gt;</span></p>
<p class="MsoNormal" style="line-height:normal;"><span style="font-family:consolas;color:blue;font-size:9.5pt;">&lt;/</span><span style="font-family:consolas;color:#a31515;font-size:9.5pt;">Action</span><span style="font-family:consolas;color:blue;font-size:9.5pt;">&gt;</span></p>
<p class="MsoNormal" style="line-height:normal;"><span style="font-family:consolas;color:blue;font-size:9.5pt;">&lt;</span><span style="font-family:consolas;color:#a31515;font-size:9.5pt;">Value</span><span style="font-family:consolas;color:blue;font-size:9.5pt;">&gt;</span><span style="font-family:consolas;font-size:9.5pt;">=Fields!FullName.Value<span style="color:blue;">&lt;/</span><span style="color:#a31515;">Value</span><span style="color:blue;">&gt;</span> </span></p>
<p class="MsoNormal" style="line-height:normal;"><span style="font-family:consolas;color:blue;font-size:9.5pt;">&lt;</span><span style="font-family:consolas;color:#a31515;font-size:9.5pt;">CanGrow</span><span style="font-family:consolas;color:blue;font-size:9.5pt;">&gt;</span><span style="font-family:consolas;font-size:9.5pt;">true<span style="color:blue;">&lt;/</span><span style="color:#a31515;">CanGrow</span><span style="color:blue;">&gt;</span> </span></p>
<p class="MsoNormal" style="line-height:normal;"><span style="font-family:consolas;color:blue;font-size:9.5pt;">&lt;</span><span style="font-family:consolas;color:#a31515;font-size:9.5pt;">DataElementName</span><span style="font-family:consolas;color:blue;font-size:9.5pt;">&gt;</span><span style="font-family:consolas;font-size:9.5pt;">FullName<span style="color:blue;">&lt;/</span><span style="color:#a31515;">DataElementName</span><span style="color:blue;">&gt;</span> </span></p>
<p class="MsoNormal" style="line-height:normal;"><span style="font-family:consolas;color:blue;font-size:9.5pt;">&lt;/</span><span style="font-family:consolas;color:#a31515;font-size:9.5pt;">Textbox</span><span style="font-family:consolas;color:blue;font-size:9.5pt;">&gt; </span></p>
</blockquote>
<p>As this problem doesn’t affect reports viewed through Report Manager on Denali I’m guessing it only affects earlier versions of ReportViewer – if so, you may find it easier to upgrade your web application to use the latest ReportViewer control.</p>
<p>If you want help updating large numbers of existing reports then please get in touch below or through our <a href="http://www.rsinteract.com/contact/contact.html" target="_blank">contact form</a> – we have plenty of code we could put together to create a mass report-update tool…</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rsinteract.wordpress.com/373/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rsinteract.wordpress.com/373/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rsinteract.wordpress.com/373/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rsinteract.wordpress.com/373/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rsinteract.wordpress.com/373/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rsinteract.wordpress.com/373/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rsinteract.wordpress.com/373/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rsinteract.wordpress.com/373/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rsinteract.wordpress.com/373/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rsinteract.wordpress.com/373/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rsinteract.wordpress.com/373/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rsinteract.wordpress.com/373/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rsinteract.wordpress.com/373/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rsinteract.wordpress.com/373/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rsinteract.wordpress.com&amp;blog=19131658&amp;post=373&amp;subd=rsinteract&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rsinteract.wordpress.com/2011/09/19/no-underline-shown-on-links-action-hyperlink-drillthrough-in-reporting-services-r2-and-denali/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cb6b4c32cb61c9b0d3885826ed22df6a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jamesmorrisbd</media:title>
		</media:content>
	</item>
		<item>
		<title>Passing parameters to a report</title>
		<link>http://rsinteract.wordpress.com/2011/02/08/passing-parameters-to-a-report/</link>
		<comments>http://rsinteract.wordpress.com/2011/02/08/passing-parameters-to-a-report/#comments</comments>
		<pubDate>Tue, 08 Feb 2011 11:24:06 +0000</pubDate>
		<dc:creator>James Morris</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Features]]></category>
		<category><![CDATA[Reporting Services]]></category>
		<category><![CDATA[RSinteract]]></category>
		<category><![CDATA[parameters]]></category>

		<guid isPermaLink="false">https://rsinteract.wordpress.com/?p=353</guid>
		<description><![CDATA[Lately we’re getting more and more interest from multitenancy SaaS providers and OEM partners who want to integrate RSinteract into their web applications. A really useful feature of RSinteract is the ability to link to a report from a 3rd party application and pass filter values and UI parameters on the URL. To do this [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rsinteract.wordpress.com&amp;blog=19131658&amp;post=353&amp;subd=rsinteract&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Lately we’re getting more and more interest from <a href="http://rsinteract.wordpress.com/2010/11/22/rsinteract-imminent-release/">multitenancy SaaS</a> providers and OEM partners who want to integrate <a href="http://www.rsinteract.com/" target="_blank">RSinteract</a> into their web applications. A really useful feature of RSinteract is the ability to link to a report from a 3<sup>rd</sup> party application and pass filter values and UI parameters on the URL.</p>
<p>To do this with a report based on a SQL Server or Oracle data source:</p>
<ul>
<li>Create a report with filters, or use this sample report which comes with RSinteract: <a href="http://localhost/RSinteract/?/RSinteract+Samples%2fOrders+by+Category" target="_blank">http://localhost/RSinteract/?/RSinteract+Samples%2fOrders+by+Category</a> </li>
<li>Open the report and hover over the parameter in the left hand sidebar </li>
<li>Note the <i>RDL field</i>: Fullname </li>
<li>Add the parameter name and value to the URL:
<ul>
<li><a href="http://localhost/RSinteract/?/RSinteract+Samples%2fOrders+by+Category&amp;Fullname=Pak,%20Jae" target="_blank">http://localhost/RSinteract/?/RSinteract+Samples%2fOrders+by+Category&amp;Fullname=Pak,%20Jae</a> </li>
<li>Separate the parameters with &amp; </li>
<li>Replace any spaces with %20 </li>
<li>Parameter names are case-sensitive </li>
</ul>
</li>
<li>For <i>Between</i> filters you actually have two parameters: add _0 and _1 to the <i>RDL field</i>:
<ul>
<li><a href="http://localhost/RSinteract/?/RSinteract+Samples%2fOrders+by+Category&amp;OrderDate_0=1%20Jan%202003&amp;OrderDate_1=31%20Dec%202003" target="_blank">&#8230;Orders+by+Category&amp;OrderDate_0=1%20Jan%202003&amp;OrderDate_1=31%20Dec%202003</a> </li>
</ul>
</li>
</ul>
<p>For a report based on an Analysis Services OLAP data source:</p>
<ul>
<li>Create a report with filters, or use this sample report which comes with RSinteract: <a href="http://localhost/RSinteract/?/RSinteract+Samples%2fSales+by+Country+(OLAP)" target="_blank">http://localhost/RSinteract/?/RSinteract+Samples%2fSales+by+Country+(OLAP)</a> </li>
<li>Open the report and hover over the parameter in the left hand sidebar </li>
<li>Note the <i>RDL field</i>: Date_Fiscal </li>
<li>Hold ctrl and double click on the empty bit of sidebar below the Filters panel, click OK to hide the popup message and you’ll see the Reporting Services toolbar at the top of your report </li>
<li>Note the parameter value {[Date].[Fiscal].[Fiscal Year].&amp;[2004]}
<ul>
<li>Remove the braces { } </li>
<li>Change ampersands to %26 </li>
<li>Change [ to %5b </li>
<li>Change ] to %5d </li>
<li>Separate the parameters with &amp; </li>
<li>Replace any spaces with %20 </li>
<li>Parameter names are case-sensitive </li>
</ul>
</li>
<li>Put your new URL together by adding: &amp;Date_Fiscal=%5bDate%5d.%5bFiscal%5d.%5bFiscal%20Year%5d.%26%5b2003%5d </li>
<li>Try your new URL <a href="http://localhost/RSinteract/?/RSinteract+Samples%2fSales+by+Country+(OLAP)&amp;Date_Fiscal=%5bDate%5d.%5bFiscal%5d.%5bFiscal%20Year%5d.%26%5b2003%5d" target="_blank">&#8230;Sales+by+Country+(OLAP)&amp;Date_Fiscal=%5bDate%5d.%5bFiscal%5d.%5bFiscal%20Year%5d.%26%5b2003%5d</a> </li>
</ul>
<p>Notes:</p>
<ul>
<li>Any errors in the report frame are probably due to invalid parameters &#8211; if you’re not sure about your parameter values then paste them directly into the Reporting Services toolbar and hit the “View Report” button </li>
<li>You don’t need to pass all of a report’s filter parameters on the URL, those not passed will use the normal report defaults. </li>
<li>If your Filters tab has the ‘Always Ask’ option ticked you’ll need to add “&amp;rsi:noq=1” to the URL to tell RSinteract not to show the question screen. </li>
<li>The rsi:noq=1 option only works if all parameters in the report have a default value or a value is passed on the URL. </li>
<li>Make sure you keep everything case sensitive. </li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rsinteract.wordpress.com/353/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rsinteract.wordpress.com/353/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rsinteract.wordpress.com/353/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rsinteract.wordpress.com/353/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rsinteract.wordpress.com/353/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rsinteract.wordpress.com/353/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rsinteract.wordpress.com/353/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rsinteract.wordpress.com/353/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rsinteract.wordpress.com/353/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rsinteract.wordpress.com/353/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rsinteract.wordpress.com/353/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rsinteract.wordpress.com/353/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rsinteract.wordpress.com/353/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rsinteract.wordpress.com/353/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rsinteract.wordpress.com&amp;blog=19131658&amp;post=353&amp;subd=rsinteract&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rsinteract.wordpress.com/2011/02/08/passing-parameters-to-a-report/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cb6b4c32cb61c9b0d3885826ed22df6a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jamesmorrisbd</media:title>
		</media:content>
	</item>
		<item>
		<title>The XML page cannot be displayed</title>
		<link>http://rsinteract.wordpress.com/2009/01/28/the-xml-page-cannot-be-displayed/</link>
		<comments>http://rsinteract.wordpress.com/2009/01/28/the-xml-page-cannot-be-displayed/#comments</comments>
		<pubDate>Wed, 28 Jan 2009 15:38:28 +0000</pubDate>
		<dc:creator>James Morris</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Reporting Services]]></category>
		<category><![CDATA[RSinteract]]></category>

		<guid isPermaLink="false">http://rsinteract.electricbiro.co.uk/?p=63</guid>
		<description><![CDATA[I’m just setting up RSinteract on a client’s 64 bit server which has Windows 2003 and SQL 2008. With most RSinteract installations IIS is installed as a prerequisite to Reporting Services but IIS isn’t needed for Reporting Services 2008. I guess this will become a common sticking point with SQL 2008 installations so here’s the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rsinteract.wordpress.com&amp;blog=19131658&amp;post=63&amp;subd=rsinteract&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I’m just setting up RSinteract on a client’s 64 bit server which has Windows 2003 and SQL 2008. With most RSinteract installations IIS is installed as a prerequisite to Reporting Services but IIS isn’t needed for Reporting Services 2008. I guess this will become a common sticking point with SQL 2008 installations so here’s the solution…</p>
<p>The first problem I got was in the RSinteract installer (whoops, should have copied the error message) so we installed IIS and then RSinteract. When I hit the site I got this error:</p>
<blockquote><p>The XML page cannot be displayed </p>
<p>Cannot view XML input using XSL style sheet. Please correct the error and then click the <a href="">Refresh</a> button, or try again later. </p>
<hr align="center" width="100%" size="2" />
<p>A name was started with an invalid character. Error processing resource &#8216;http://myserver/RSinteract&#8217;. Line 1, Positio&#8230;</p>
<p>&lt;%@ Page EnableViewState=&quot;false&quot; Language=&quot;c#&quot; ValidateRequest=&quot;false&quot; AutoEventWireup=&quot;True&quot; Codebehind=&quot;Main.aspx.cs&quot; I&#8230;</p>
</blockquote>
<p>I guess this is because IIS isn’t configured for ASPNET by default so I ran:</p>
<blockquote><p>%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe –i</p>
</blockquote>
<p>Which gave me the following error:</p>
<blockquote><p>The error indicates that IIS is in 64 bit mode, while this application is a 32 bit application and thus not compatible.</p>
</blockquote>
<p>So I made a slight change to point to the 64 bit .NET folder:</p>
<blockquote><p>%windir%\Microsoft.NET\Framework64\v2.0.50727\aspnet_regiis.exe -i</p>
</blockquote>
<p>After an iisreset I was now getting a 404 error from aspx pages, the final step was to open IIS (type inetmgr at the command prompt) and go to the “Web Service Extensions” node and enable ASP.NET v2.0.50727. Another iisreset for good measure and we’re now up and running:)</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rsinteract.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rsinteract.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rsinteract.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rsinteract.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rsinteract.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rsinteract.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rsinteract.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rsinteract.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rsinteract.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rsinteract.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rsinteract.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rsinteract.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rsinteract.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rsinteract.wordpress.com/63/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rsinteract.wordpress.com&amp;blog=19131658&amp;post=63&amp;subd=rsinteract&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rsinteract.wordpress.com/2009/01/28/the-xml-page-cannot-be-displayed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cb6b4c32cb61c9b0d3885826ed22df6a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jamesmorrisbd</media:title>
		</media:content>
	</item>
		<item>
		<title>Obsolete Attribute and XML Serialization</title>
		<link>http://rsinteract.wordpress.com/2008/12/08/obsolete-attribute-and-xml-serialization/</link>
		<comments>http://rsinteract.wordpress.com/2008/12/08/obsolete-attribute-and-xml-serialization/#comments</comments>
		<pubDate>Mon, 08 Dec 2008 09:44:55 +0000</pubDate>
		<dc:creator>RSinteract</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[RSinteract]]></category>
		<category><![CDATA[.net3.5]]></category>
		<category><![CDATA[msdn]]></category>

		<guid isPermaLink="false">http://rsinteract.electricbiro.co.uk/?p=18</guid>
		<description><![CDATA[1: public class MyClass 2: { 3: private string _internalProperty; 4: private string _newProperty; 5: 6: [Obsolete("This is no longer required, but needed for backwards compatability")] 7: public string Property 8: { 9: get { return _internalProperty; } 10: set { _internalProperty = value; } 11: } 12: 13: public string NewProperty 14: { 15: [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rsinteract.wordpress.com&amp;blog=19131658&amp;post=18&amp;subd=rsinteract&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div style="font-size:8pt;overflow:auto;width:98.97%;cursor:text;max-height:200px;line-height:12pt;">
<div style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;">
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;"><span style="color:#606060;">   1:</span> <span style="color:#0000ff;">public</span> <span style="color:#0000ff;">class</span> MyClass</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;"><span style="color:#606060;">   2:</span> {</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;"><span style="color:#606060;">   3:</span>     <span style="color:#0000ff;">private</span> <span style="color:#0000ff;">string</span> _internalProperty;</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;"><span style="color:#606060;">   4:</span>     <span style="color:#0000ff;">private</span> <span style="color:#0000ff;">string</span> _newProperty;</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;"><span style="color:#606060;">   5:</span></pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;"><span style="color:#606060;">   6:</span>     [Obsolete(<span style="color:#006080;">"This is no longer required, but needed for backwards compatability"</span>)]</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;"><span style="color:#606060;">   7:</span>     <span style="color:#0000ff;">public</span> <span style="color:#0000ff;">string</span> Property</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;"><span style="color:#606060;">   8:</span>     {</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;"><span style="color:#606060;">   9:</span>         get { <span style="color:#0000ff;">return</span> _internalProperty; }</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;"><span style="color:#606060;">  10:</span>         set { _internalProperty = <span style="color:#0000ff;">value</span>; }</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;"><span style="color:#606060;">  11:</span>     }</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;"><span style="color:#606060;">  12:</span></pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;"><span style="color:#606060;">  13:</span>     <span style="color:#0000ff;">public</span> <span style="color:#0000ff;">string</span> NewProperty</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;"><span style="color:#606060;">  14:</span>     {</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;"><span style="color:#606060;">  15:</span>         get { <span style="color:#0000ff;">return</span> _newProperty; }</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;"><span style="color:#606060;">  16:</span>         set { _newProperty = <span style="color:#0000ff;">value</span>; }</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;"><span style="color:#606060;">  17:</span>     }</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;"><span style="color:#606060;">  18:</span></pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;"><span style="color:#606060;">  19:</span> }</pre>
<p>&nbsp;</p>
</div>
</div>
<p>This is an interesting little anomaly in the way XML Serialization handles the “Obsolete” attribute on class properties when serializing to and from XML. The attribute is treated as an “XmlIgnore” attribute, meaning that the property is not serialized. It is <a href="http://msdn.microsoft.com/en-us/library/system.xml.serialization.xmlserializer.aspx">well documented</a> that adding the aforementioned attribute to a property in .NET 3.5 will cause this behavior, however, it is not mentioned in the <a href="http://msdn.microsoft.com/en-us/library/system.xml.serialization.xmlserializer(VS.80).aspx">same MSDN page for .NET 2.0</a> on the same subject.</p>
<p>This one caught me out. Apparently the only two ways to fix it are: to take the attributes off or use the “ShouldSerializeX” method constructs as demonstrated below…</p>
<p>&nbsp;</p>
<div style="font-size:8pt;overflow:auto;width:99.01%;cursor:text;max-height:200px;line-height:12pt;">
<div style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;">
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;"><span style="color:#606060;">   1:</span> <span style="color:#0000ff;">public</span> <span style="color:#0000ff;">bool</span> ShouldSerializeProperty()</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;"><span style="color:#606060;">   2:</span> {</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;"><span style="color:#606060;">   3:</span>     <span style="color:#0000ff;">return</span> <span style="color:#0000ff;">true</span>;</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;"><span style="color:#606060;">   4:</span> }</pre>
<p>&nbsp;</p>
</div>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rsinteract.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rsinteract.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rsinteract.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rsinteract.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rsinteract.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rsinteract.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rsinteract.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rsinteract.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rsinteract.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rsinteract.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rsinteract.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rsinteract.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rsinteract.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rsinteract.wordpress.com/18/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rsinteract.wordpress.com&amp;blog=19131658&amp;post=18&amp;subd=rsinteract&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rsinteract.wordpress.com/2008/12/08/obsolete-attribute-and-xml-serialization/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/812269b1933cf80f651b40754de96551?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rsinteract</media:title>
		</media:content>
	</item>
	</channel>
</rss>
