<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Gregory Rubinstein - All Comments</title><link>http://weblogs.asp.net/grblog/default.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Debug Build: 20510.895)</generator><item><title>re: Passing Parameter to Crystal Report</title><link>http://weblogs.asp.net/grblog/archive/2008/08/14/passing-parameter-to-crystal-report.aspx#7227594</link><pubDate>Mon, 12 Oct 2009 03:31:21 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7227594</guid><dc:creator>Hafiz</dc:creator><description>&lt;p&gt;I' ve tried to used sub reports link parameter ..... but got some problem .... all of the sub report parameter dose not appear in primary report .... its that a bugs or what ?&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7227594" width="1" height="1"&gt;</description></item><item><title>re: Converting ASP.NET to PDF</title><link>http://weblogs.asp.net/grblog/archive/2008/05/09/converting-asp-net-to-pdf.aspx#7189085</link><pubDate>Wed, 02 Sep 2009 12:14:53 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7189085</guid><dc:creator>divs</dc:creator><description>&lt;p&gt;Could you please explain the second approach more detailed , like u have created object of crystalreport1&lt;/p&gt;
&lt;p&gt;Dim report As CrystalReport1 = New CrystalReport1&lt;/p&gt;
&lt;p&gt;Which dll contains this class?&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7189085" width="1" height="1"&gt;</description></item><item><title>re: Remaining Characters Counter</title><link>http://weblogs.asp.net/grblog/archive/2008/04/10/remaining-characters-counter.aspx#7030002</link><pubDate>Mon, 06 Apr 2009 14:42:31 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7030002</guid><dc:creator>Jonathan</dc:creator><description>&lt;p&gt;There are other ways to catch copy and paste through the mouse such as placing a custom length validator on the asp:Textbox control. They are very simple and straightforward to make.&lt;/p&gt;
&lt;p&gt;Excellent post, though, Greg!&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7030002" width="1" height="1"&gt;</description></item><item><title>re: Passing Parameter to Crystal Report</title><link>http://weblogs.asp.net/grblog/archive/2008/08/14/passing-parameter-to-crystal-report.aspx#6952244</link><pubDate>Tue, 10 Mar 2009 10:21:39 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6952244</guid><dc:creator>smitha</dc:creator><description>&lt;p&gt;Hi ,&lt;/p&gt;
&lt;p&gt;i also have the similar scenario where in i have one main report and 4 sub report .All the sub reports are linked to the main report via Parameter filed.&lt;/p&gt;
&lt;p&gt;I tried using the code of your's but i am getting the Error as &amp;quot;Log on Failed&amp;quot;.&lt;/p&gt;
&lt;p&gt;Could you please tell me what should i do?&lt;/p&gt;
&lt;p&gt;The same code is working without Sub report.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6952244" width="1" height="1"&gt;</description></item><item><title>re: Crystal Reports with ASP.NET</title><link>http://weblogs.asp.net/grblog/archive/2008/05/09/crystal-reports-with-asp-net.aspx#6913352</link><pubDate>Wed, 18 Feb 2009 05:00:40 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6913352</guid><dc:creator>Muhammad Waqas</dc:creator><description>&lt;p&gt;hello, how to view data as header and in body like gridview.&lt;/p&gt;
&lt;p&gt;shwaqqas@yahoo.com&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6913352" width="1" height="1"&gt;</description></item><item><title>re: Passing Parameter to Crystal Report</title><link>http://weblogs.asp.net/grblog/archive/2008/08/14/passing-parameter-to-crystal-report.aspx#6911063</link><pubDate>Tue, 17 Feb 2009 16:33:35 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6911063</guid><dc:creator>Sunitha Sriram</dc:creator><description>&lt;p&gt;Thanks, Your post was very helpful.&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6911063" width="1" height="1"&gt;</description></item><item><title>re: Converting ASP.NET to PDF</title><link>http://weblogs.asp.net/grblog/archive/2008/05/09/converting-asp-net-to-pdf.aspx#6897845</link><pubDate>Wed, 11 Feb 2009 16:47:21 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6897845</guid><dc:creator>Dr Suess</dc:creator><description>&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ReportDocument crRpt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;string reportPath = &amp;quot;&amp;quot;; &amp;nbsp;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;CrystalDecisions.Shared.DiskFileDestinationOptions cr_OutputToFile;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;string s_FileSavePath = &amp;quot;&amp;quot;;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;string s_ReportName = &amp;quot;CertList&amp;quot;;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;string s_DateTimeStamp = &amp;quot;&amp;quot;;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;try&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;crRpt = new ReportDocument();&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;cr_OutputToFile = new CrystalDecisions.Shared.DiskFileDestinationOptions();&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;reportPath = Server.MapPath(&amp;quot;Secure\\CIS\\rptMC_CertificationsList.rpt&amp;quot;);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;s_DateTimeStamp = Convert.ToString(DateTime.Today.Month) + Convert.ToString(DateTime.Today.Day) + Convert.ToString(DateTime.Today.Year);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; s_DateTimeStamp += &amp;nbsp;Convert.ToString(DateTime.Today.Hour)+Convert.ToString(DateTime.Today.Minute )+Convert.ToString(DateTime.Today.Second &amp;nbsp;);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;s_FileSavePath = Server.MapPath(&amp;quot;Docs\\&amp;quot; + s_ReportName + s_DateTimeStamp + &amp;quot;.pdf&amp;quot;);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//crRpt.ExportOptions.ExportFormatType = CrystalDecisions.Shared.ExportFormatType.PortableDocFormat;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // crRpt.ExportOptions.ExportDestinationType = CrystalDecisions.Shared.ExportDestinationType.DiskFile;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//cr_OutputToFile.DiskFileName = s_FileSavePath;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // crRpt.ExportOptions.ExportDestinationOptions = cr_OutputToFile;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;crRpt.Load(reportPath);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;crRpt.SetParameterValue(&amp;quot;Start_Date&amp;quot;, &amp;quot;02/01/2009&amp;quot;);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;crRpt.SetParameterValue(&amp;quot;End_Date&amp;quot;, &amp;quot;02/10/2009&amp;quot;);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;crRpt.ExportToHttpResponse(ExportFormatType.PortableDocFormat, Response, false, &amp;quot;ExportedReport&amp;quot;);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//crystalReportViewer.ReportSource = crRpt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;crRpt.Export();&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;crRpt.Close();&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;pv_HideButtons();&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;catch (System.Exception ex)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;System.Console.WriteLine(&amp;quot;{0} exception caught here.&amp;quot;, ex.GetType().ToString());&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;System.Console.WriteLine(ex.Message);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;finally &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt;The code works fine until I get to the line crRpt.ExportToHttpResponse(ExportFormatType.PortableDocFormat, Response, false, &amp;quot;ExportedReport&amp;quot;);&lt;/p&gt;
&lt;p&gt;I can successfully bring the report up in the viewer&lt;/p&gt;
&lt;p&gt;crystalReportViewer.ReportSource = crRpt;&lt;/p&gt;
&lt;p&gt;but not translate it to pdf. &lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6897845" width="1" height="1"&gt;</description></item><item><title>re: Remaining Characters Counter</title><link>http://weblogs.asp.net/grblog/archive/2008/04/10/remaining-characters-counter.aspx#6789093</link><pubDate>Tue, 16 Dec 2008 01:04:10 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6789093</guid><dc:creator>Thuan V. Nguyen</dc:creator><description>&lt;p&gt;thanx for the code it worked perfectly.&lt;/p&gt;
&lt;p&gt;didn't need this though...&lt;/p&gt;
&lt;p&gt;Util.SetTextBoxProperties(txtMessage, True)&lt;/p&gt;
&lt;p&gt;only needed...&lt;/p&gt;
&lt;p&gt;SetTextBoxProperties(txtMessage)&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6789093" width="1" height="1"&gt;</description></item><item><title>re: Passing Parameter to Crystal Report</title><link>http://weblogs.asp.net/grblog/archive/2008/08/14/passing-parameter-to-crystal-report.aspx#6760387</link><pubDate>Sun, 30 Nov 2008 02:16:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6760387</guid><dc:creator>dani</dc:creator><description>&lt;p&gt;Hai Gregory&lt;/p&gt;
&lt;p&gt;why I Allways Get Error &lt;/p&gt;
&lt;p&gt;Operation illegal on linked parameter.&lt;/p&gt;
&lt;p&gt;Please Help......&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6760387" width="1" height="1"&gt;</description></item><item><title>re: Remaining Characters Counter</title><link>http://weblogs.asp.net/grblog/archive/2008/04/10/remaining-characters-counter.aspx#6756868</link><pubDate>Thu, 27 Nov 2008 10:21:06 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6756868</guid><dc:creator>gaurav</dc:creator><description>&lt;p&gt;this is a good implementations but the bad part is the copy and paste through mouse.&lt;/p&gt;
&lt;p&gt;this does not work for mouse event&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6756868" width="1" height="1"&gt;</description></item></channel></rss>