<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Perpetuum Software Blog » Marketing Dept</title>
	
	<link>http://blogs.perpetuumsoft.com</link>
	<description>This blog is about proved and promising Microsoft technologies: .Net, ASP.Net, Silverlight, WPF, etc.</description>
	<lastBuildDate>Thu, 14 Apr 2011 03:06:59 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/PerpetuumSoftBlog/author/marketing-dept" /><feedburner:info uri="perpetuumsoftblog/author/marketing-dept" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:browserFriendly></feedburner:browserFriendly><item>
		<title>Visual Studio Toolbox Doesn’t Show Perpetuum Software Components: Solution</title>
		<link>http://blogs.perpetuumsoft.com/reporting/vstoolbox/</link>
		<comments>http://blogs.perpetuumsoft.com/reporting/vstoolbox/#comments</comments>
		<pubDate>Thu, 17 Mar 2011 10:14:06 +0000</pubDate>
		<dc:creator>Marketing Dept</dc:creator>
				<category><![CDATA[.Net components]]></category>
		<category><![CDATA[Reporting]]></category>
		<category><![CDATA[reporting tool]]></category>

		<guid isPermaLink="false">http://blogs.perpetuumsoft.com/?p=824</guid>
		<description><![CDATA[Assume that you’ve installed Perpetuum Software products and run Visual Studio in order to have a look at your new wonderful components or to make your first &#8216;Hello world&#8217; reporting application using them. Most probably, you will see the following text in the Toolbox of Visual Studio:
&#8220;Controls in this category are unavailable for the .NET [...]]]></description>
			<content:encoded><![CDATA[<p>Assume that you’ve installed Perpetuum Software products and run Visual Studio in order to have a look at your new wonderful components or to make your first &#8216;Hello world&#8217; reporting application using them. Most probably, you will see the following text in the Toolbox of Visual Studio:</p>
<p><em>&#8220;Controls in this category are unavailable for the .NET Framework 4 Client Profile. To change this setting, open the Project Properties window.&#8221;</em></p>
<p><span id="more-824"></span><center><img src="http://blogs.perpetuumsoft.com/wp-content/uploads/2011/03/framework4C.jpg" alt="" title="framework4C" width="319" height="180" class="aligncenter size-full wp-image-825" /></center></p>
<p><center>Controls are unavailable in C# project</center></p>
<p><center><img src="http://blogs.perpetuumsoft.com/wp-content/uploads/2011/03/framework4VB.jpg" alt="" title="framework4VB" width="319" height="196" class="aligncenter size-full wp-image-826" /></center></p>
<p><center>Controls are unavailable in VB project</center></p>
<p>Visual Studio sets .NET Framework 4 Client Profile to default target Framework. However, the PerpetuumSoft components don&#8217;t support for this type of Framework and you need to select the Framework in the Properties of your Application:</p>
<p><center><img src="http://blogs.perpetuumsoft.com/wp-content/uploads/2011/03/AppProp.jpg" alt="" title="AppProp" width="366" height="560" class="aligncenter size-full wp-image-827" /></center></p>
<p><center>Select application properties</center></p>
<p><center><img src="http://blogs.perpetuumsoft.com/wp-content/uploads/2011/03/CompilerSettingsC.jpg" alt="" title="CompilerSettingsC" width="495" height="390" class="aligncenter size-full wp-image-828" /></center></p>
<p><center>Select target Framework in C# application</center></p>
<p><img src="http://blogs.perpetuumsoft.com/wp-content/uploads/2011/03/CompilerSettingsVB.jpg" alt="" title="CompilerSettingsVB" width="799" height="680" class="aligncenter size-full wp-image-829" /></p>
<p><center>Select target Framework in VB application</center></p>
<p>The PerpetuumSoft components will appear in VS Toolbox.</p>
<p><strong>How to add PerpetuumSoft components to VS Toolbox manually.</strong></p>
<p>If components are still not shown in the VS Toolbox, take the following steps:</p>
<ol>
<li>Right mouse click on the Toolbox -> Choose Items:</li>
<p><center><img src="http://blogs.perpetuumsoft.com/wp-content/uploads/2011/03/ChooseItemsSmall.jpg" alt="" title="ChooseItemsSmall" width="320" height="416" class="aligncenter size-full wp-image-830" /></center></p>
<p><center>Choose Items for VS Toolbox</center></p>
<li>The &#8216;.NET Framework Components&#8217; tab in the window -> Click on the &#8216;Browse&#8217; button:</li>
<p><center><img src="http://blogs.perpetuumsoft.com/wp-content/uploads/2011/03/ItemsBrowse.jpg" alt="" title="ItemsBrowse" width="673" height="483" class="aligncenter size-full wp-image-831" /></center></p>
<p><center>Select Toolbox Items in the Window</center></p>
<li>Select the Perpetuum dll libraries from the Bin folder:</li>
<p><center><img src="http://blogs.perpetuumsoft.com/wp-content/uploads/2011/03/ChooseToolBoxItems.jpg" alt="" title="ChooseToolBoxItems" width="670" height="481" class="aligncenter size-full wp-image-833" /></center></p>
<p><center>Select Perpetuum dll</center></p>
<li>Select the PerpetuumSoft components in the &#8216;.NET Framework Components&#8217; tab:</li>
<p><center><img src="http://blogs.perpetuumsoft.com/wp-content/uploads/2011/03/ChooseDLL.jpg" alt="" title="ChooseDLL" width="636" height="511" class="aligncenter size-full wp-image-832" /></center></p>
<p><center>Select PerpetuumSoft components</center></p>
<li>Click &#8216;OK&#8217;.</li>
</ol>
<p><a href="http://www.perpetuumsoft.com/Downloads.aspx?lang=en">Download Perpetuum Software components&#8230;</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.perpetuumsoft.com/reporting/vstoolbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Perpetuum Software wins ComponentSource Top 100 Bestselling Publishers award</title>
		<link>http://blogs.perpetuumsoft.com/miscellaneous/perpetuum-software-wins-componentsource-top-100-bestselling-publishers-award/</link>
		<comments>http://blogs.perpetuumsoft.com/miscellaneous/perpetuum-software-wins-componentsource-top-100-bestselling-publishers-award/#comments</comments>
		<pubDate>Wed, 09 Mar 2011 11:22:37 +0000</pubDate>
		<dc:creator>Marketing Dept</dc:creator>
				<category><![CDATA[.Net components]]></category>
		<category><![CDATA[Components Suites]]></category>
		<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[ComponentSource]]></category>

		<guid isPermaLink="false">http://blogs.perpetuumsoft.com/?p=806</guid>
		<description><![CDATA[



ComponentSource®, the world&#8217;s largest marketplace and community for reusable software components and development tools announced their latest Awards for 2010-2011 for both leading publishers and their individual products.
This year Perpetuum Software, a reliable vendor of reporting and data  visualization components for SQL Server Reporting Services, .NET and  Silverlight, wins Top 100 Bestselling Publishers [...]]]></description>
			<content:encoded><![CDATA[<table border="0">
<tbody>
<tr>
<td><img src="http://blogs.perpetuumsoft.com/wp-content/uploads/2011/03/CSAwardSmall.gif" alt="" title="CSAwardSmall" width="102" height="109" class="aligncenter size-full wp-image-935" /></td>
<td><span style="text-decoration: underline;">ComponentSource</span>®, the world&#8217;s largest marketplace and community for reusable software components and development tools announced their latest Awards for 2010-2011 for both leading publishers and their individual products.<br/><br />
This year Perpetuum Software, a reliable vendor of reporting and data  visualization components for SQL Server Reporting Services, .NET and  Silverlight, wins Top 100 Bestselling Publishers award.</td>
</tr>
</tbody>
</table>
<p><br/>The awards are given to the Top 100 Bestselling Publishers, based on the total sales dollar value of orders placed by customers during the year (2010) through ComponentSource.<br/><br />
The awards are the most accurate market survey available of how developers are using development products day to day in their latest projects. Perpetuum Software reliability and wide experience in development technologies is now estimated at its true value.<br/><br />
“We are pleased that we were chosen as one of the best software vendors this year,” said Dmitry Starostenkov, Perpetuum CEO. “For 9 years we&#8217;ve delivered to our customers powerful and flexible reporting and data visualization components that offer improved developer experience. And this award is meaningful as people voted with their money and not just rated our products in the catalog”.<br/><br />
Please visit Perpetuum Software and evaluate our products: <a href="http://www.perpetuumsoft.com/Downloads.aspx?lang=en">http://www.perpetuumsoft.com/Downloads.aspx?lang=en</a> or contact our sales managers at <a href="mailto:sales@perpetuumsoft.com">sales@perpetuumsoft.com</a>.<br/><br />
For additional informal collaboration and insights visit <a title="Perpetuum Blog" href="http://blogs.perpetuumsoft.com" target="_self">Perpetuum Blog</a>, <a title="Perpetuum Forums" href="http://www.perpetuumsoft.com/Forums.aspx?lang=en" target="_blank">Perpetuum Forums</a>. Follow us on twitter: <a title="@PerpetuumSoft" href="http://twitter.com/#!/PerpetuumSoft" target="_blank">@PerpetuumSoft</a>, and on <a title="Facebook" href="http://www.facebook.com/PerpetuumSoft" target="_blank">Facebook</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.perpetuumsoft.com/miscellaneous/perpetuum-software-wins-componentsource-top-100-bestselling-publishers-award/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Perpetuum Software at the Microsoft Professionals Community Meeting!</title>
		<link>http://blogs.perpetuumsoft.com/silverlight/perpetuumsoftatmpcclub/</link>
		<comments>http://blogs.perpetuumsoft.com/silverlight/perpetuumsoftatmpcclub/#comments</comments>
		<pubDate>Fri, 18 Feb 2011 07:14:33 +0000</pubDate>
		<dc:creator>Marketing Dept</dc:creator>
				<category><![CDATA[CodeProject]]></category>
		<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[Silverlight]]></category>

		<guid isPermaLink="false">http://blogs.perpetuumsoft.com/?p=793</guid>
		<description><![CDATA[
Being engaged in development of up-to-date components, Perpetuum Software specialists are always glad to share their experience with any communities and user groups.
We have a sponsorship program for .Net and Silverlight communities and user groups which is aimed at supporting software researches.
Last week our Silverlight developer, Sergey Piskov, was speaking at local .net user group [...]]]></description>
			<content:encoded><![CDATA[<p><center><img src="http://blogs.perpetuumsoft.com/wp-content/uploads/2011/02/Silverlight_conference.jpg" alt="" title="Silverlight_conference" width="450" height="340" class="aligncenter size-full wp-image-794" /></center></p>
<p>Being engaged in development of up-to-date components, Perpetuum Software specialists are always glad to share their experience with any communities and user groups.</p>
<p>We have <a href="http://www.perpetuumsoft.com/Product.aspx?lang=en&#038;pid=41&#038;tid=usergroups">a sponsorship program for .Net and Silverlight communities and user groups</a> which is aimed at supporting software researches.</p>
<p>Last week our Silverlight developer, Sergey Piskov, was speaking at local .net user group meeting. This meeting was devoted to Silverlight technology examination.</p>
<p>Sergey was speaking about:</p>
<ol>
<li>Silverlight in comparison with Flash.</li>
<li>Silverlight versions, changes and peculiarities in each version.</li>
<li>XAML – Extensible Application Markup Language.</li>
<li>Creation of applications which use XAML as an example of Silverlight applications.</li>
</ol>
<p>We strongly believe that our developers experience will help Silverlight newbie to quickly understand all advantages of Silverlight and create their own interesting solutions based on this technology.</p>
<p><a href="http://www.perpetuumsoft.com/Product.aspx?lang=en&#038;pid=41&#038;tid=usergroups">We are always glad to support any user groups!</a>    </p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.perpetuumsoft.com/silverlight/perpetuumsoftatmpcclub/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Report Sharp-Shooter 5.1 release with Great Discounts!</title>
		<link>http://blogs.perpetuumsoft.com/dotnet/rssnewrelease-2/</link>
		<comments>http://blogs.perpetuumsoft.com/dotnet/rssnewrelease-2/#comments</comments>
		<pubDate>Fri, 11 Feb 2011 07:32:23 +0000</pubDate>
		<dc:creator>Marketing Dept</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[.Net components]]></category>
		<category><![CDATA[ASP.Net]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[CodeProject]]></category>
		<category><![CDATA[Reporting]]></category>
		<category><![CDATA[.net reporting]]></category>
		<category><![CDATA[asp.net reporting]]></category>
		<category><![CDATA[reporting tool]]></category>

		<guid isPermaLink="false">http://blogs.perpetuumsoft.com/?p=790</guid>
		<description><![CDATA[
Perpetuum Software has release a new version of Report Sharp-Shooter and Report Sharp-Shooter for Silverlight. These reporting tools provide powerful abilities in creation of BI applications.
The highest priority in development of new versions was set to customer-oriented approach.
What we did for our users Report Sharp-Shooter 5.1:

Considerably improved script editor to provide as much abilities in [...]]]></description>
			<content:encoded><![CDATA[<p><center><img src="http://blogs.perpetuumsoft.com/wp-content/uploads/2011/02/rss_5.1.jpg" alt="" title="rss_5.1" width="405" height="240" class="aligncenter size-full wp-image-791" /></center></p>
<p>Perpetuum Software has release a new version of <a href="http://www.perpetuumsoft.com/Report-Sharp-Shooter.aspx">Report Sharp-Shooter</a> and <a href="http://www.perpetuumsoft.com/Report-Sharp-Shooter-for-Silverlight.aspx">Report Sharp-Shooter for Silverlight</a>. These reporting tools provide powerful abilities in creation of BI applications.</p>
<p>The highest priority in development of new versions was set to customer-oriented approach.</p>
<p>What we did for our users Report Sharp-Shooter 5.1:</p>
<ol>
<li>Considerably improved script editor to provide as much abilities in reports creation as it is possible. Now scripts editors functionality is similar to Visual Studio.NET code Editor, including code autocompletion, syntax highlighting for C#, VB.NET and SQL, code outlining, unlimited undo/redo, bookmarks, drag-n-drop, built-in search/replace dialogs, displaying gutter, line numbers and many more.</li>
<li>Added some small but pleasant features to Ribbon report designer interface. They are new user interface icons, improved style editor interface, ability to size the document using the Rule. Now, inner designer forms have the common style with report designer.</li>
<li>Fixed bugs and shortcomings. We tried to eliminate all the shortcomings in PDF export filter. There was also added such feature essential for our clients as ability to hide/show totals in pivot table.</li>
</ol>
<p><a href="http://www.perpetuumsoft.com/Product.aspx?lang=en&#038;pid=21&#038;tid=history"><strong>You can see more information on this release on Perpetuum Software site.</strong></a></p>
<p>And finally, we made Report Sharp-Shooter 5.1 affordable for everyone thanks to our <strong>Decreasing Discount February Sale</strong>! The sooner you purchase the license the greater discount you get. Every day of February you can get a discount which will be valid only for one exact day. The greatest discount you get on the 1st of February and the smallest discount (only 1%) will be on the 28th of February.</p>
<p><a href="http://www.perpetuumsoft.com/Product.aspx?lang=en&#038;pid=41&#038;tid=februarysale"><strong>See Decreasing Discount February Sale conditions on Perpetuum Software site!</strong></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.perpetuumsoft.com/dotnet/rssnewrelease-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Decreasing Discount February Sale! Be fast – Get Huge Discount!</title>
		<link>http://blogs.perpetuumsoft.com/silverlight/februarysale/</link>
		<comments>http://blogs.perpetuumsoft.com/silverlight/februarysale/#comments</comments>
		<pubDate>Wed, 26 Jan 2011 08:43:12 +0000</pubDate>
		<dc:creator>Marketing Dept</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[.Net components]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[CodeProject]]></category>
		<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[Reporting]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[.net reporting]]></category>
		<category><![CDATA[Silverlight reporting]]></category>

		<guid isPermaLink="false">http://blogs.perpetuumsoft.com/?p=755</guid>
		<description><![CDATA[
Looking how to save money on .Net and Silverlight components?
Take advantage of Perpetuum Software Decreasing Discount February Sale!
You have a unique opportunity to get the discount only for the DAY of purchase. The only thing you have to do is to purchase the license as soon as possible. The sooner you purchase the license the [...]]]></description>
			<content:encoded><![CDATA[<p><center><a href="http://www.perpetuumsoft.com/Product.aspx?pid=41&amp;tid=februarysale"><img src="http://blogs.perpetuumsoft.com/wp-content/uploads/2011/01/february_sale.png" alt="" title="february_sale" width="463" height="261" class="aligncenter size-full wp-image-756" /></a></center></p>
<p>Looking how to save money on .Net and Silverlight components?</p>
<p>Take advantage of Perpetuum Software <strong>Decreasing Discount February Sale</strong>!</p>
<p>You have a unique opportunity to get the discount only for the DAY of purchase. The only thing you have to do is to purchase the license as soon as possible. The sooner you purchase the license the greater discount you get. Every day of February you can get a discount which will be valid only for <strong>one exact day</strong>.</p>
<p>On the 1st of February you can get <strong>28% discount</strong> on Perpetuum Software products. Then each day the promotion will decrease by 1% according to the day of the month.</p>
<p>So, the greatest discount you get on the 1st of February and the smallest discount (only 1%) will be on the 28th of February.</p>
<p>The fastest get the greatest discounts! Be among them.</p>
<p>Please see additional information on Decreasing Discount February Sale on <a href="http://www.perpetuumsoft.com/">Perpetuum Software site</a> or e-mail to our <a href="mailto:sales@perpetuumsoft.com">sales representatives</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.perpetuumsoft.com/silverlight/februarysale/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Silverlight Viewer for Reporting Services is reviewed by Code Magazine!</title>
		<link>http://blogs.perpetuumsoft.com/silverlight/codemagazine/</link>
		<comments>http://blogs.perpetuumsoft.com/silverlight/codemagazine/#comments</comments>
		<pubDate>Thu, 20 Jan 2011 08:06:11 +0000</pubDate>
		<dc:creator>Marketing Dept</dc:creator>
				<category><![CDATA[CodeProject]]></category>
		<category><![CDATA[Reporting]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Silverlight reporting]]></category>
		<category><![CDATA[SSRS]]></category>

		<guid isPermaLink="false">http://blogs.perpetuumsoft.com/?p=746</guid>
		<description><![CDATA[
Silverlight Viewer for Reporting Services by Perpetuum Software has been reviewed in the CODE Magazine – an advanced technology magazine for Microsoft-oriented developers and technical managers, focused on providing in-depth information to the .NET community. 
Each bi-monthly issue of CODE Magazine contains detailed and very practical explanations of Visual Studio .NET and the .NET Framework, [...]]]></description>
			<content:encoded><![CDATA[<p><center><img src="http://blogs.perpetuumsoft.com/wp-content/uploads/2011/01/Code_Madazine.jpg" alt="" title="Code_Madazine" width="372" height="280" class="aligncenter size-full wp-image-747" /></center></p>
<p><a href="http://www.perpetuumsoft.com/Silverlight-Viewer-for-Reporting-Services.aspx"><strong>Silverlight Viewer for Reporting Services</strong></a> by Perpetuum Software has been reviewed in the <strong>CODE Magazine</strong> – an advanced technology magazine for Microsoft-oriented developers and technical managers, focused on providing in-depth information to the .NET community. </p>
<p>Each bi-monthly issue of CODE Magazine contains detailed and very practical explanations of Visual Studio .NET and the .NET Framework, as well as other Microsoft technologies and developer tools. Written by developers who actually use the tools they write about, CODE Magazine is the trusted source of information for working developers seeking to complete their latest software development projects.</p>
<p>One of the articles of the January/February issue of the CODE Magazine highlights the use of <strong>SQL Server Reporting Services in Silverlight applications</strong>, and of course, this topic cannot be fully covered without telling about Perpetuum’s Silverlight Viewer for Reporting Services since it is the unique product on the market which provides the ability to view Reporting Services reports in Silverlight applications without using any workarounds and limitations.</p>
<p>Exclusively for the readers of CODE Magazine, Perpetuum Software has prepared the unique offer: buying or renewing the subscription for CODE Magazine you get a license for Silverlight Viewer for Reporting Services absolutely <strong>FREE of charge</strong>:<br />
<a href="http://www.codemag.com/subscribe/prs2011">www.codemag.com/subscribe/prs2011</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.perpetuumsoft.com/silverlight/codemagazine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Perpetuum Software LLC greets you on upcoming Christmas and New Year!</title>
		<link>http://blogs.perpetuumsoft.com/miscellaneous/christma/</link>
		<comments>http://blogs.perpetuumsoft.com/miscellaneous/christma/#comments</comments>
		<pubDate>Thu, 23 Dec 2010 09:49:12 +0000</pubDate>
		<dc:creator>Marketing Dept</dc:creator>
				<category><![CDATA[CodeProject]]></category>
		<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[Reporting Services in Silvelright]]></category>
		<category><![CDATA[reporting tool]]></category>
		<category><![CDATA[Silverlight reporting]]></category>

		<guid isPermaLink="false">http://blogs.perpetuumsoft.com/?p=742</guid>
		<description><![CDATA[Another year has passed. And we want to say thank you all people who helped us this year, who trusted our company and chose our products. We will do all our best to justify your trust in the coming year and to develop more flexible, powerful and advanced components.

Please be advised that you have a [...]]]></description>
			<content:encoded><![CDATA[<p>Another year has passed. And we want to say thank you all people who helped us this year, who trusted our company and chose our products. We will do all our best to justify your trust in the coming year and to develop more flexible, powerful and advanced components.</p>
<p><center><img src="http://blogs.perpetuumsoft.com/wp-content/uploads/2010/12/merry_christmas.jpg" alt="" title="merry_christmas" width="350" height="330"></center></p>
<p><strong>Please be advised that you have a chance to purchase our products with 40% discount till 31 December, 2010!</strong></p>
<p>All you have to do is:</p>
<ul>
<li>Follow the <a href="http://twitter.com/PerpetuumSoft"><strong>@PerpetuumSoft</strong></a> account on your Twitter account and find link to get 20% discount on Twitter in our Favorites.</li>
<li>From your Twitter account, tweet the message referencing to us with <strong>#NetReporting</strong> tag to get additional 20% discount.</li>
</ul>
<p><strong>Holiday schedule<br />
</strong><br />
Perpetuum Software will be closed for the New Year and Christmas holidays from Friday December 31, 2010 through Tuesday January 10, 2011. Please, note that technical and pre-sales support will be provided with little delay during this period. But you can be sure that your request will be processed and responded without fail. </p>
<p>Merry Christmas and a Happy New Year!</p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.perpetuumsoft.com/miscellaneous/christma/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to build interactive sorting and grouping using Report Sharp-Shooter scripting engine.</title>
		<link>http://blogs.perpetuumsoft.com/dotnet/dynamicsorting/</link>
		<comments>http://blogs.perpetuumsoft.com/dotnet/dynamicsorting/#comments</comments>
		<pubDate>Tue, 21 Dec 2010 10:22:51 +0000</pubDate>
		<dc:creator>Marketing Dept</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[.Net components]]></category>
		<category><![CDATA[ASP.Net]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[CodeProject]]></category>
		<category><![CDATA[Reporting]]></category>
		<category><![CDATA[.net reporting]]></category>
		<category><![CDATA[reporting tool]]></category>

		<guid isPermaLink="false">http://blogs.perpetuumsoft.com/?p=721</guid>
		<description><![CDATA[by Fakhru Rahman, Perpetuum Software customer





// 



Scripting engine in Report Sharp-Shooter allow us to create interactive report.
In this example we will create report in which the user can sort and group via script on the fly.




In order to do this, I have created an extended ReportViewer, you can download the source code here.
This is how [...]]]></description>
			<content:encoded><![CDATA[<p>by Fakhru Rahman, Perpetuum Software customer</p>
<table>
<tbody>
<tr>
<td>
<div style="float: right; padding-top: 16px; margin-right: 24px;">
<p><script type="text/javascript">// <![CDATA[
                    tweetmeme_service = "bit.ly"; tweetmeme_source = "PerpetuumSoft"; tweetmeme_url = "http://blogs.perpetuumsoft.com/dotnet/dynamicsorting/";
// ]]&gt;</script></p>
<p><script src="http://tweetmeme.com/i/scripts/button.js" type="text/javascript"></script></p>
</div>
</td>
<td>Scripting engine in <a href="http://www.perpetuumsoft.com/Report-Sharp-Shooter.aspx"><strong>Report Sharp-Shooter</strong></a> allow us to create interactive report.<br />
In this example we will create report in which the user can sort and group via script on the fly.
</td>
</tr>
</tbody>
</table>
<p>In order to do this, I have created an extended ReportViewer, you can download the source code <a href="http://www.perpetuumsoft.com/sf/en/fls/rss/RSSExample.zip"><strong>here</strong></a>.</p>
<p>This is how our final report looks:<br />
<img src="http://blogs.perpetuumsoft.com/wp-content/uploads/2010/12/Final_small.png" alt="" title="Final_small" width="450" height="275" class="aligncenter size-full wp-image-734" /></p>
<p><span id="more-721"></span>Create winform application using Visual Studio, then add a class, we will fill this class with dummy data, I named this class <strong>Data</strong>:</p>
<div class="codecolorer-container csharp default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><div class="csharp codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #0600FF; font-weight: bold;">public</span> <span style="color: #6666cc; font-weight: bold;">class</span> Data<br />
<span style="color: #008000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0600FF; font-weight: bold;">private</span> <span style="color: #6666cc; font-weight: bold;">long</span> _townId<span style="color: #008000;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0600FF; font-weight: bold;">private</span> <span style="color: #6666cc; font-weight: bold;">long</span> _cityId<span style="color: #008000;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0600FF; font-weight: bold;">private</span> <span style="color: #6666cc; font-weight: bold;">string</span> _town<span style="color: #008000;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0600FF; font-weight: bold;">private</span> <span style="color: #6666cc; font-weight: bold;">string</span> _city<span style="color: #008000;">;</span><br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0600FF; font-weight: bold;">public</span> <span style="color: #6666cc; font-weight: bold;">long</span> TownId<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #008000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; get <span style="color: #008000;">&#123;</span> <span style="color: #0600FF; font-weight: bold;">return</span> _townId<span style="color: #008000;">;</span> <span style="color: #008000;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set <span style="color: #008000;">&#123;</span> _townId <span style="color: #008000;">=</span> value<span style="color: #008000;">;</span> <span style="color: #008000;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #008000;">&#125;</span><br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0600FF; font-weight: bold;">public</span> <span style="color: #6666cc; font-weight: bold;">long</span> CityId<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #008000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; get <span style="color: #008000;">&#123;</span> <span style="color: #0600FF; font-weight: bold;">return</span> _cityId<span style="color: #008000;">;</span> <span style="color: #008000;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set <span style="color: #008000;">&#123;</span> _cityId <span style="color: #008000;">=</span> value<span style="color: #008000;">;</span> <span style="color: #008000;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #008000;">&#125;</span><br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0600FF; font-weight: bold;">public</span> <span style="color: #6666cc; font-weight: bold;">string</span> Town<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #008000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; get <span style="color: #008000;">&#123;</span> <span style="color: #0600FF; font-weight: bold;">return</span> _town<span style="color: #008000;">;</span> <span style="color: #008000;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set <span style="color: #008000;">&#123;</span> _town <span style="color: #008000;">=</span> value<span style="color: #008000;">;</span> <span style="color: #008000;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #008000;">&#125;</span><br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0600FF; font-weight: bold;">public</span> <span style="color: #6666cc; font-weight: bold;">string</span> City<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #008000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; get <span style="color: #008000;">&#123;</span> <span style="color: #0600FF; font-weight: bold;">return</span> _city<span style="color: #008000;">;</span> <span style="color: #008000;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set <span style="color: #008000;">&#123;</span> _city <span style="color: #008000;">=</span> value<span style="color: #008000;">;</span> <span style="color: #008000;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #008000;">&#125;</span><br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0600FF; font-weight: bold;">public</span> Data<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #008000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #008000;">&#125;</span><br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0600FF; font-weight: bold;">public</span> Data<span style="color: #008000;">&#40;</span><span style="color: #6666cc; font-weight: bold;">long</span> _townId, <span style="color: #6666cc; font-weight: bold;">long</span> _cityId, <span style="color: #6666cc; font-weight: bold;">string</span> _town, <span style="color: #6666cc; font-weight: bold;">string</span> _city<span style="color: #008000;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #008000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0600FF; font-weight: bold;">this</span><span style="color: #008000;">.</span>_townId <span style="color: #008000;">=</span> _townId<span style="color: #008000;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0600FF; font-weight: bold;">this</span><span style="color: #008000;">.</span>_cityId <span style="color: #008000;">=</span> _cityId<span style="color: #008000;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0600FF; font-weight: bold;">this</span><span style="color: #008000;">.</span>_town <span style="color: #008000;">=</span> _town<span style="color: #008000;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0600FF; font-weight: bold;">this</span><span style="color: #008000;">.</span>_city <span style="color: #008000;">=</span> _city<span style="color: #008000;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #008000;">&#125;</span><br />
<span style="color: #008000;">&#125;</span></div></div>
<p>Next, drag ReportManager into main form, and create a new InlineReport,</p>
<p><img src="http://blogs.perpetuumsoft.com/wp-content/uploads/2010/12/ReportManager_small.png" alt="" title="ReportManager_small" width="450" height="398" class="aligncenter size-full wp-image-736" /></p>
<p>and drag BindingSource component from toolbox. Name it <strong>BSCity</strong> or whatever you like, in the DataSource property of <strong>BSCity</strong></p>
<p><img src="http://blogs.perpetuumsoft.com/wp-content/uploads/2010/12/Add-DataSource1.png" alt="" title="Add-DataSource" width="258" height="545" class="aligncenter size-full wp-image-737" /></p>
<p>Now we need to set report source to this BindingSource, double click reportmanager to open ReportManager Editor Form, and select BindingSource that we created earlier on Data Sources tab:</p>
<p><img src="http://blogs.perpetuumsoft.com/wp-content/uploads/2010/12/Set-Report-DataSource_small.png" alt="" title="Set-Report-DataSource_small" width="450" height="283" class="aligncenter size-full wp-image-738" /></p>
<p>Next switch to design mode of RSS, and design something similar to this (for more detail, please check the source code):</p>
<p><img src="http://blogs.perpetuumsoft.com/wp-content/uploads/2010/12/Report_small.png" alt="" title="Report_small" width="450" height="286" class="aligncenter size-full wp-image-739" /></p>
<p>We need to create parameter, so we can change this report behavior from our winform code, in the dropdown property choose document1 and add 2 parameter in<br />
parameters property with ParameterType is System.String, name it <strong>__GROUP__</strong> and <strong>__SORT__</strong>.</p>
<p><img src="http://blogs.perpetuumsoft.com/wp-content/uploads/2010/12/Parameters_small.png" alt="" title="Parameters_small" width="450" height="280" class="aligncenter size-full wp-image-740" /></p>
<p>Still on document1 properties select Generate Script property and insert this code:</p>
<div class="codecolorer-container csharp default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="csharp codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #008080; font-style: italic;">// get data from report parameter</span><br />
_sort <span style="color: #008000;">=</span> <span style="color: #0600FF; font-weight: bold;">this</span><span style="color: #008000;">.</span><span style="color: #0000FF;">GetParameter</span><span style="color: #008000;">&#40;</span><span style="color: #666666;">&quot;__SORT__&quot;</span><span style="color: #008000;">&#41;</span> <span style="color: #0600FF; font-weight: bold;">as</span> <span style="color: #6666cc; font-weight: bold;">string</span><span style="color: #008000;">;</span><br />
_group <span style="color: #008000;">=</span> <span style="color: #0600FF; font-weight: bold;">this</span><span style="color: #008000;">.</span><span style="color: #0000FF;">GetParameter</span><span style="color: #008000;">&#40;</span><span style="color: #666666;">&quot;__GROUP__&quot;</span><span style="color: #008000;">&#41;</span> <span style="color: #0600FF; font-weight: bold;">as</span> <span style="color: #6666cc; font-weight: bold;">string</span><span style="color: #008000;">;</span><br />
<span style="color: #0600FF; font-weight: bold;">this</span><span style="color: #008000;">.</span><span style="color: #0000FF;">InitSort</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span></div></div>
<p>We havent create <strong>InitSort</strong> method yet, so in the Common Script property of document1 write this code:</p>
<div class="codecolorer-container csharp default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="csharp codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #008080; font-style: italic;">// initialize variable</span><br />
<span style="color: #6666cc; font-weight: bold;">string</span> _group <span style="color: #008000;">=</span> <span style="color: #0600FF; font-weight: bold;">null</span><span style="color: #008000;">;</span><br />
<span style="color: #6666cc; font-weight: bold;">string</span> _sort <span style="color: #008000;">=</span> <span style="color: #0600FF; font-weight: bold;">null</span><span style="color: #008000;">;</span><br />
<span style="color: #6666cc; font-weight: bold;">string</span> _sortDirection <span style="color: #008000;">=</span> <span style="color: #0600FF; font-weight: bold;">null</span><span style="color: #008000;">;</span><br />
<br />
<span style="color: #0600FF; font-weight: bold;">private</span> <span style="color: #6666cc; font-weight: bold;">void</span> InitSort<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><br />
<span style="color: #008000;">&#123;</span><br />
&nbsp; <span style="color: #0600FF; font-weight: bold;">if</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">!</span><span style="color: #6666cc; font-weight: bold;">String</span><span style="color: #008000;">.</span><span style="color: #0000FF;">IsNullOrEmpty</span><span style="color: #008000;">&#40;</span>_sort<span style="color: #008000;">&#41;</span><span style="color: #008000;">&#41;</span><br />
&nbsp; <span style="color: #008000;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #6666cc; font-weight: bold;">string</span><span style="color: #008000;">&#91;</span><span style="color: #008000;">&#93;</span> sortData <span style="color: #008000;">=</span> _sort<span style="color: #008000;">.</span><span style="color: #0000FF;">Split</span><span style="color: #008000;">&#40;</span><span style="color: #666666;">','</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span><br />
&nbsp; &nbsp; _sort <span style="color: #008000;">=</span> sortData<span style="color: #008000;">&#91;</span><span style="color: #FF0000;">0</span><span style="color: #008000;">&#93;</span><span style="color: #008000;">;</span><br />
&nbsp; &nbsp; dataBand1<span style="color: #008000;">.</span><span style="color: #0000FF;">Sort</span><span style="color: #008000;">&#91;</span><span style="color: #FF0000;">0</span><span style="color: #008000;">&#93;</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Order</span> <span style="color: #008000;">=</span> sortData<span style="color: #008000;">&#91;</span><span style="color: #FF0000;">1</span><span style="color: #008000;">&#93;</span> <span style="color: #008000;">==</span> <span style="color: #666666;">&quot;ASC&quot;</span> <span style="color: #008000;">?</span> PerpetuumSoft<span style="color: #008000;">.</span><span style="color: #0000FF;">Reporting</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Data</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Groupping</span><span style="color: #008000;">.</span><span style="color: #0000FF;">SortOrder</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Ascending</span><span style="color: #008000;">:</span>PerpetuumSoft<span style="color: #008000;">.</span><span style="color: #0000FF;">Reporting</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Data</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Groupping</span><span style="color: #008000;">.</span><span style="color: #0000FF;">SortOrder</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Descending</span><span style="color: #008000;">;</span><br />
&nbsp; <span style="color: #008000;">&#125;</span><br />
<span style="color: #008000;">&#125;</span></div></div>
<p>This method will set <em>SortOrder</em> for dataBand1 based on parameter <strong>__SORT__</strong>.<br />
Now, we need to set Sort Expression in dataBand1, click on the Sort property of dataBand1 and add item to Collection Editor, set Expression value to <strong>SortExpression()</strong>.<br />
SortExpression is a method for sorting, we haven&#8217;t create it, so return to <em>Common Script</em> property of <em>document1</em> and append this code:</p>
<div class="codecolorer-container csharp default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="csharp codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #0600FF; font-weight: bold;">private</span> <span style="color: #6666cc; font-weight: bold;">object</span> SortExpression<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><br />
<span style="color: #008000;">&#123;</span><br />
&nbsp; <span style="color: #0600FF; font-weight: bold;">if</span><span style="color: #008000;">&#40;</span><span style="color: #6666cc; font-weight: bold;">string</span><span style="color: #008000;">.</span><span style="color: #0000FF;">IsNullOrEmpty</span><span style="color: #008000;">&#40;</span>_sort<span style="color: #008000;">&#41;</span><span style="color: #008000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #0600FF; font-weight: bold;">return</span> <span style="color: #0600FF; font-weight: bold;">null</span><span style="color: #008000;">;</span><br />
&nbsp; <span style="color: #0600FF; font-weight: bold;">else</span><br />
&nbsp; <span style="color: #008000;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #0600FF; font-weight: bold;">switch</span><span style="color: #008000;">&#40;</span><span style="color: #0600FF; font-weight: bold;">this</span><span style="color: #008000;">.</span>_sort<span style="color: #008000;">.</span><span style="color: #0000FF;">ToLower</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #008000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #0600FF; font-weight: bold;">case</span> <span style="color: #666666;">&quot;city&quot;</span><span style="color: #008000;">:</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #0600FF; font-weight: bold;">return</span> GetData<span style="color: #008000;">&#40;</span><span style="color: #666666;">&quot;Cities.City&quot;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #0600FF; font-weight: bold;">case</span> <span style="color: #666666;">&quot;town&quot;</span><span style="color: #008000;">:</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #0600FF; font-weight: bold;">return</span> GetData<span style="color: #008000;">&#40;</span><span style="color: #666666;">&quot;Cities.Town&quot;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #0600FF; font-weight: bold;">default</span><span style="color: #008000;">:</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #0600FF; font-weight: bold;">return</span> <span style="color: #0600FF; font-weight: bold;">null</span><span style="color: #008000;">;</span><br />
&nbsp; &nbsp; <span style="color: #008000;">&#125;</span><br />
&nbsp; <span style="color: #008000;">&#125;</span><br />
<span style="color: #008000;">&#125;</span></div></div>
<p>This code will return sort expression based on value of _sort (from parameter <strong>__SORT__</strong>).</p>
<p>Final thing we should do in Report designer is to create code for dynamic grouping, select <em>groupBand1</em> from properties combo and set GroupExpression to<br />
<strong>GroupExpression()</strong>, we need to create this method so once more time append this code on <em>document1</em> Common Script:</p>
<div class="codecolorer-container csharp default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="csharp codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #0600FF; font-weight: bold;">private</span> <span style="color: #6666cc; font-weight: bold;">object</span> GroupExpression<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><br />
<span style="color: #008000;">&#123;</span><br />
&nbsp; <span style="color: #0600FF; font-weight: bold;">if</span><span style="color: #008000;">&#40;</span><span style="color: #6666cc; font-weight: bold;">string</span><span style="color: #008000;">.</span><span style="color: #0000FF;">IsNullOrEmpty</span><span style="color: #008000;">&#40;</span>_group<span style="color: #008000;">&#41;</span><span style="color: #008000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #0600FF; font-weight: bold;">return</span> <span style="color: #6666cc; font-weight: bold;">string</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Empty</span><span style="color: #008000;">;</span><br />
&nbsp; <span style="color: #0600FF; font-weight: bold;">else</span><br />
&nbsp; <span style="color: #008000;">&#123;</span><br />
&nbsp; &nbsp; <span style="color: #0600FF; font-weight: bold;">switch</span><span style="color: #008000;">&#40;</span>_group<span style="color: #008000;">.</span><span style="color: #0000FF;">ToLower</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">&#41;</span><br />
&nbsp; &nbsp; <span style="color: #008000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #0600FF; font-weight: bold;">case</span> <span style="color: #666666;">&quot;cityid&quot;</span><span style="color: #008000;">:</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0600FF; font-weight: bold;">return</span> GetData<span style="color: #008000;">&#40;</span><span style="color: #666666;">&quot;Cities.CityId&quot;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #0600FF; font-weight: bold;">default</span><span style="color: #008000;">:</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0600FF; font-weight: bold;">return</span> <span style="color: #6666cc; font-weight: bold;">string</span><span style="color: #008000;">.</span><span style="color: #0000FF;">Empty</span><span style="color: #008000;">;</span><br />
&nbsp; &nbsp; <span style="color: #008000;">&#125;</span><br />
&nbsp; <span style="color: #008000;">&#125;</span><br />
<span style="color: #008000;">&#125;</span></div></div>
<p>Validate script and save.<br />
Next, in Visual Studio, select <em>inlineReportSlot1</em>, go to event and create code for RenderComplete event, here is the code:</p>
<div class="codecolorer-container csharp default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><div class="csharp codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #0600FF; font-weight: bold;">private</span> PreviewFormExt _frm<span style="color: #008000;">;</span><br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0600FF; font-weight: bold;">private</span> <span style="color: #6666cc; font-weight: bold;">void</span> RenderCompleted<span style="color: #008000;">&#40;</span><span style="color: #6666cc; font-weight: bold;">object</span> sender, EventArgs e<span style="color: #008000;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #008000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0600FF; font-weight: bold;">if</span> <span style="color: #008000;">&#40;</span>_frm <span style="color: #008000;">==</span> <span style="color: #0600FF; font-weight: bold;">null</span><span style="color: #008000;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #008000;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _frm <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> PreviewFormExt<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span><br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #008080; font-style: italic;">// Add group</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _frm<span style="color: #008000;">.</span><span style="color: #0000FF;">AddGroup</span><span style="color: #008000;">&#40;</span><span style="color: #666666;">&quot;City&quot;</span>, <span style="color: #666666;">&quot;CityId&quot;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span><br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #008080; font-style: italic;">// Add sort</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _frm<span style="color: #008000;">.</span><span style="color: #0000FF;">AddSort</span><span style="color: #008000;">&#40;</span><span style="color: #666666;">&quot;Town&quot;</span>, <span style="color: #666666;">&quot;Town&quot;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _frm<span style="color: #008000;">.</span><span style="color: #0000FF;">AddSort</span><span style="color: #008000;">&#40;</span><span style="color: #666666;">&quot;City&quot;</span>, <span style="color: #666666;">&quot;City&quot;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span><br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _frm<span style="color: #008000;">.</span><span style="color: #0000FF;">ReportSource</span> <span style="color: #008000;">=</span> inlineReportSlot1<span style="color: #008000;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _frm<span style="color: #008000;">.</span><span style="color: #0000FF;">ShowDialog</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #008000;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0600FF; font-weight: bold;">else</span> <span style="color: #0600FF; font-weight: bold;">if</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">!</span>_frm<span style="color: #008000;">.</span><span style="color: #0000FF;">Visible</span><span style="color: #008000;">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _frm<span style="color: #008000;">.</span><span style="color: #0000FF;">ShowDialog</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #008000;">&#125;</span></div></div>
<p>Later add button, then on click event with this code:</p>
<div class="codecolorer-container csharp default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="csharp codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">BSCity<span style="color: #008000;">.</span><span style="color: #0000FF;">Clear</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #008080; font-style: italic;">// fill with dummy source</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; BSCity<span style="color: #008000;">.</span><span style="color: #0000FF;">Add</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">new</span> Data<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span> <span style="color: #008000;">&#123;</span> TownId <span style="color: #008000;">=</span> <span style="color: #FF0000;">1</span>, Town <span style="color: #008000;">=</span> <span style="color: #666666;">&quot;Jeffersontown&quot;</span>, CityId <span style="color: #008000;">=</span> <span style="color: #FF0000;">1</span>, City <span style="color: #008000;">=</span> <span style="color: #666666;">&quot;Kentucky&quot;</span> <span style="color: #008000;">&#125;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; BSCity<span style="color: #008000;">.</span><span style="color: #0000FF;">Add</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">new</span> Data<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span> <span style="color: #008000;">&#123;</span> TownId <span style="color: #008000;">=</span> <span style="color: #FF0000;">2</span>, Town <span style="color: #008000;">=</span> <span style="color: #666666;">&quot;Frankfort&quot;</span>, CityId <span style="color: #008000;">=</span> <span style="color: #FF0000;">1</span>, City <span style="color: #008000;">=</span> <span style="color: #666666;">&quot;Kentucky&quot;</span> <span style="color: #008000;">&#125;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; BSCity<span style="color: #008000;">.</span><span style="color: #0000FF;">Add</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">new</span> Data<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span> <span style="color: #008000;">&#123;</span> TownId <span style="color: #008000;">=</span> <span style="color: #FF0000;">3</span>, Town <span style="color: #008000;">=</span> <span style="color: #666666;">&quot;Clinton&quot;</span>, CityId <span style="color: #008000;">=</span> <span style="color: #FF0000;">2</span>, City <span style="color: #008000;">=</span> <span style="color: #666666;">&quot;New Jersey&quot;</span> <span style="color: #008000;">&#125;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; BSCity<span style="color: #008000;">.</span><span style="color: #0000FF;">Add</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">new</span> Data<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span> <span style="color: #008000;">&#123;</span> TownId <span style="color: #008000;">=</span> <span style="color: #FF0000;">4</span>, Town <span style="color: #008000;">=</span> <span style="color: #666666;">&quot;Westfield&quot;</span>, CityId <span style="color: #008000;">=</span> <span style="color: #FF0000;">3</span>, City <span style="color: #008000;">=</span> <span style="color: #666666;">&quot;New Jersey&quot;</span> <span style="color: #008000;">&#125;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; BSCity<span style="color: #008000;">.</span><span style="color: #0000FF;">Add</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">new</span> Data<span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span> <span style="color: #008000;">&#123;</span> TownId <span style="color: #008000;">=</span> <span style="color: #FF0000;">5</span>, Town <span style="color: #008000;">=</span> <span style="color: #666666;">&quot;Woodstock&quot;</span>, CityId <span style="color: #008000;">=</span> <span style="color: #FF0000;">3</span>, City <span style="color: #008000;">=</span> <span style="color: #666666;">&quot;New York&quot;</span> <span style="color: #008000;">&#125;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span><br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; inlineReportSlot1<span style="color: #008000;">.</span><span style="color: #0000FF;">Prepare</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span></div></div>
<p>Run your code to see the result.</p>
<p><a href="http://www.perpetuumsoft.com/Downloads.aspx?lang=en&#038;pid=21">Download Report Sharp-Shooter&#8230;</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.perpetuumsoft.com/dotnet/dynamicsorting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Become Perpetuum Software Blog Friend!</title>
		<link>http://blogs.perpetuumsoft.com/silverlight/perpetuumsoftfriends/</link>
		<comments>http://blogs.perpetuumsoft.com/silverlight/perpetuumsoftfriends/#comments</comments>
		<pubDate>Fri, 17 Dec 2010 05:26:02 +0000</pubDate>
		<dc:creator>Marketing Dept</dc:creator>
				<category><![CDATA[.Net components]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[CodeProject]]></category>
		<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[Reporting]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[.net reporting]]></category>
		<category><![CDATA[Reporting Services in Silvelright]]></category>
		<category><![CDATA[Silverlight reporting]]></category>

		<guid isPermaLink="false">http://blogs.perpetuumsoft.com/?p=718</guid>
		<description><![CDATA[




// 



Our dear friends – Silverlight and .Net geeks!
At the end of this year Perpetuum Software wants to start a new program which will help you in your Silverlight and .Net research.





Take part in our new program: Perpetuum Software Blog Friends! Put your ideas up to Perpetuum Software community and get the following advantages:

Your blog [...]]]></description>
			<content:encoded><![CDATA[<table>
<tbody>
<tr>
<td>
<div style="float: right; padding-top: 16px; margin-right: 24px;">
<p><script type="text/javascript">// <![CDATA[
         tweetmeme_service = "bit.ly"; tweetmeme_source = "PerpetuumSoft"; tweetmeme_url = "http://blogs.perpetuumsoft.com/silverlight/perpetuumsoftfriends/";
// ]]&gt;</script></p>
<p><script src="http://tweetmeme.com/i/scripts/button.js" type="text/javascript"></script></p>
</div>
</td>
<td>Our dear friends – Silverlight and .Net geeks!</p>
<p>At the end of this year Perpetuum Software wants to start a new program which will help you in your Silverlight and .Net research.
</td>
</tr>
</tbody>
</table>
<p><center><a href="http://twitter.com/PerpetuumSoft"><img src="http://www.perpetuumsoft.com/sf/en/ims/company/blog_friends.jpg" alt="Silverlight blogging" /></a></center></p>
<p>Take part in our new program: <strong>Perpetuum Software Blog Friends</strong>! Put your ideas up to Perpetuum Software community and get the following advantages:</p>
<ol>
<li>Your blog to our Blogroll section on Perpetuum Technical Blog. </li>
<li>Sponsorship of your blog meetings, competitions and contests with free licenses for Perpetuum Software Products. </li>
<li>Your articles on our blog. </li>
<li>Money donations for most active bloggers.</li>
</ol>
<p>For your part, we wait:</p>
<ol>
<li>A review or an article about the functionality of <a href="http://www.perpetuumsoft.com/Products.aspx"><strong>Perpetuum Software LLC products</strong></a>.</li>
<li>Mentioning Perpetuum Software LLC on your blog.</li>
</ol>
<p>We believe that upcoming year will be more successful for our friends and will allow them to realize their full potential with our help!</p>
<p>Let us help you in your work! <a href="http://www.perpetuumsoft.com/Product.aspx?pid=41&#038;tid=blogfriends"><strong>Take part in our Perpetuum Software Blog Friends program!</strong></a><br />
<em><br />
Merry Christmas and Happy New Year!</em></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.perpetuumsoft.com/silverlight/perpetuumsoftfriends/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Development of Perpetuum’s products for Silverlight 5!</title>
		<link>http://blogs.perpetuumsoft.com/silverlight/silverlight5/</link>
		<comments>http://blogs.perpetuumsoft.com/silverlight/silverlight5/#comments</comments>
		<pubDate>Fri, 10 Dec 2010 07:06:48 +0000</pubDate>
		<dc:creator>Marketing Dept</dc:creator>
				<category><![CDATA[CodeProject]]></category>
		<category><![CDATA[Reporting]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Silverlight reporting]]></category>

		<guid isPermaLink="false">http://blogs.perpetuumsoft.com/?p=715</guid>
		<description><![CDATA[




// 



Past months Silverlight community buzzed like a disturbed beehive. The news that Microsoft is „shifting its Silverlight strategy“ and going full forward to embrace HTML 5 as its cross-browser cross-platform solution cut a splash among developers and IT specialists.





But, this panic about “Silverlight is Dead” was premature. At the beginning of December, all the [...]]]></description>
			<content:encoded><![CDATA[<table>
<tbody>
<tr>
<td>
<div style="float: right; padding-top: 16px; margin-right: 24px;">
<p><script type="text/javascript">// <![CDATA[
         tweetmeme_service = "bit.ly"; tweetmeme_source = "PerpetuumSoft"; tweetmeme_url = "http://blogs.perpetuumsoft.com/silverlight/silverlight5/";
// ]]&gt;</script></p>
<p><script src="http://tweetmeme.com/i/scripts/button.js" type="text/javascript"></script></p>
</div>
</td>
<td>Past months Silverlight community buzzed like a disturbed beehive. The news that Microsoft is „shifting its Silverlight strategy“ and going full forward to embrace HTML 5 as its cross-browser cross-platform solution cut a splash among developers and IT specialists.
</td>
</tr>
</tbody>
</table>
<p><center><img src="http://www.perpetuumsoft.com/sf/en/ims/company/Silverlight5.png" alt="Silverlight controls" /></center></p>
<p>But, this panic about “Silverlight is Dead” was premature. At the beginning of December, all the myths about Silverlight future were shattered. New features of Silverlight 5 were announced on <a href="http://www.silverlight.net/news/events/firestarter/">Silverlight Firestarter event</a>. </p>
<p>Improvements in Silverlight 5 will deal with media support and UI capabilities, rich application development environment that enables you to build great business applications. The precise description on these features can be seen on <a href="http://www.microsoft.com/silverlight/future/">Microsoft Silverlight site</a>.</p>
<p>In connection with this Perpetuum Software LLC starts the development of its products according Silverlight 5 functionality. Report Sharp-Shooter for Silverlight and Silverlight Viewer for reporting Services are two products intended for the creation of feature-rich corporate applications in Silverlight. </p>
<p>These components has already proved themselves as flexible reliable native Silverlight controls which address the most sophisticated demands of up-to-date technologies. Silverlight 5 will allow us to improve:</p>
<ol>
<li>Printing in Silverlight Viewer. There will be available full-fledge vector printing.</li>
<li>Text rendering.</li>
<li>Performance of text output.</li>
</ol>
<p>We believe that this key functionality will considerably increase components productivity and provide our clients with more abilities in RIA creation and, as a result, business success. </p>
<p>If you have any suggestions please post them on our <a href="http://www.perpetuumsoft.com/Forums.aspx"><strong>forum</strong></a>. Your opinion will help us to develop solution exactly for you!</p>
<p><a href="http://www.perpetuumsoft.com/Downloads.aspx"><strong>Download Report Sharp-Shooter for Silverlight and Silverlight Viewer for Reporting Services…<br />
</strong></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.perpetuumsoft.com/silverlight/silverlight5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

