<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
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/"
> <channel><title>Comments on: Incorporate Crystal Reports in a C# WPF Application</title> <atom:link href="http://www.redmondpie.com/incorporate-crystal-reports-in-a-c-wpf-application/feed/" rel="self" type="application/rss+xml" /><link>http://www.redmondpie.com/incorporate-crystal-reports-in-a-c-wpf-application/</link> <description>Covering Microsoft and its competitors like no one else!</description> <lastBuildDate>Fri, 19 Mar 2010 18:24:04 +0000</lastBuildDate> <generator>http://wordpress.org/?v=2.9.2</generator> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>By: lukeskywalker</title><link>http://www.redmondpie.com/incorporate-crystal-reports-in-a-c-wpf-application/comment-page-1/#comment-23884</link> <dc:creator>lukeskywalker</dc:creator> <pubDate>Wed, 10 Mar 2010 23:28:09 +0000</pubDate> <guid
isPermaLink="false">http://www.redmondpie.com/incorporate-crystal-reports-in-a-c-wpf-application/#comment-23884</guid> <description>I just tried this and it worked fine.&lt;br&gt;&lt;br&gt;When you compile this if you get the following erro:&lt;br&gt;&lt;br&gt;&quot;The name &#039;master_grid&#039; does not exist in the current context&quot;&lt;br&gt;&lt;br&gt;&lt;br&gt;In your Window1.xaml    page  name your grid master_grid so your grid tag should look like this:&lt;br&gt;&lt;br&gt;&lt;br&gt;    &lt;Grid x:Name=&quot;master_grid&quot;&gt;&lt;br&gt;        &lt;br&gt;    &lt;/Grid&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;That will fix that problem.</description> <content:encoded><![CDATA[<p>I just tried this and it worked fine.</p><p>When you compile this if you get the following erro:</p><p>&#8220;The name &#39;master_grid&#39; does not exist in the current context&#8221;</p><p>In your Window1.xaml    page  name your grid master_grid so your grid tag should look like this:</p><p> &lt;Grid x:Name=&#8221;master_grid&#8221;&gt;</p><p> &lt;/Grid&gt;</p><p>That will fix that problem.</p> ]]></content:encoded> </item> <item><title>By: sam</title><link>http://www.redmondpie.com/incorporate-crystal-reports-in-a-c-wpf-application/comment-page-1/#comment-17511</link> <dc:creator>sam</dc:creator> <pubDate>Wed, 09 Dec 2009 12:50:54 +0000</pubDate> <guid
isPermaLink="false">http://www.redmondpie.com/incorporate-crystal-reports-in-a-c-wpf-application/#comment-17511</guid> <description>Its not working&lt;br&gt; Error	1	The name &#039;master_grid&#039; does not exist in the current context</description> <content:encoded><![CDATA[<p>Its not working<br
/> Error	1	The name &#39;master_grid&#39; does not exist in the current context</p> ]]></content:encoded> </item> <item><title>By: sam</title><link>http://www.redmondpie.com/incorporate-crystal-reports-in-a-c-wpf-application/comment-page-1/#comment-15512</link> <dc:creator>sam</dc:creator> <pubDate>Wed, 09 Dec 2009 04:50:54 +0000</pubDate> <guid
isPermaLink="false">http://www.redmondpie.com/incorporate-crystal-reports-in-a-c-wpf-application/#comment-15512</guid> <description>Its not working&lt;br&gt; Error	1	The name &#039;master_grid&#039; does not exist in the current context</description> <content:encoded><![CDATA[<p>Its not working<br
/> Error	1	The name &#39;master_grid&#39; does not exist in the current context</p> ]]></content:encoded> </item> <item><title>By: saghar</title><link>http://www.redmondpie.com/incorporate-crystal-reports-in-a-c-wpf-application/comment-page-1/#comment-14221</link> <dc:creator>saghar</dc:creator> <pubDate>Sat, 21 Nov 2009 14:26:12 +0000</pubDate> <guid
isPermaLink="false">http://www.redmondpie.com/incorporate-crystal-reports-in-a-c-wpf-application/#comment-14221</guid> <description>hi &lt;br&gt;thanks a lot of&lt;br&gt;but &lt;br&gt;after all I have 3 message &quot;Invalid report source&quot;</description> <content:encoded><![CDATA[<p>hi <br
/>thanks a lot of<br
/>but <br
/>after all I have 3 message &#8220;Invalid report source&#8221;</p> ]]></content:encoded> </item> <item><title>By: Pham Tran Khanh</title><link>http://www.redmondpie.com/incorporate-crystal-reports-in-a-c-wpf-application/comment-page-1/#comment-3081</link> <dc:creator>Pham Tran Khanh</dc:creator> <pubDate>Sun, 10 May 2009 02:58:24 +0000</pubDate> <guid
isPermaLink="false">http://www.redmondpie.com/incorporate-crystal-reports-in-a-c-wpf-application/#comment-3081</guid> <description>Sorry, I&#039;m using CrystalReport which is intergrated in xamlbrowser but
when I publish it to IIS in partial trust, and during veryfing, it export error &#039;trust not granted&#039;. Could you show me some ways to create a report without using WindowsFormsHost in partial trust. Thanks so much</description> <content:encoded><![CDATA[<p>Sorry, I&#8217;m using CrystalReport which is intergrated in xamlbrowser but<br
/> when I publish it to IIS in partial trust, and during veryfing, it export error &#8216;trust not granted&#8217;. Could you show me some ways to create a report without using WindowsFormsHost in partial trust. Thanks so much</p> ]]></content:encoded> </item> <item><title>By: bipin</title><link>http://www.redmondpie.com/incorporate-crystal-reports-in-a-c-wpf-application/comment-page-1/#comment-3046</link> <dc:creator>bipin</dc:creator> <pubDate>Tue, 05 May 2009 14:24:28 +0000</pubDate> <guid
isPermaLink="false">http://www.redmondpie.com/incorporate-crystal-reports-in-a-c-wpf-application/#comment-3046</guid> <description>how to insert image in database and retrive the image in Crystal Reports using C# WPF Applicationregards
bipin</description> <content:encoded><![CDATA[<p>how to insert image in database and retrive the image in Crystal Reports using C# WPF Application</p><p>regards<br
/> bipin</p> ]]></content:encoded> </item> <item><title>By: Bipin</title><link>http://www.redmondpie.com/incorporate-crystal-reports-in-a-c-wpf-application/comment-page-1/#comment-3039</link> <dc:creator>Bipin</dc:creator> <pubDate>Tue, 05 May 2009 05:40:45 +0000</pubDate> <guid
isPermaLink="false">http://www.redmondpie.com/incorporate-crystal-reports-in-a-c-wpf-application/#comment-3039</guid> <description>hi Sumair Shaikh
this code is really great and it works in my project
thanks alot for this wonderful code.
i got the crystal report, keep on the good work</description> <content:encoded><![CDATA[<p>hi Sumair Shaikh<br
/> this code is really great and it works in my project<br
/> thanks alot for this wonderful code.<br
/> i got the crystal report, keep on the good work</p> ]]></content:encoded> </item> <item><title>By: Alvaro</title><link>http://www.redmondpie.com/incorporate-crystal-reports-in-a-c-wpf-application/comment-page-1/#comment-2928</link> <dc:creator>Alvaro</dc:creator> <pubDate>Thu, 23 Apr 2009 13:31:00 +0000</pubDate> <guid
isPermaLink="false">http://www.redmondpie.com/incorporate-crystal-reports-in-a-c-wpf-application/#comment-2928</guid> <description>the first way was deleted..Basically, I puted the code directly in xaml and after in the event Page_Load I seted the Reporsource with the path/report1.rptGrid Name=&quot;frmGrid&quot;
WindowsFormsHost
crystal:CrystalReportViewer x:Name=&quot;crystalReportViewer1&quot; Width=&quot;300&quot; Height=&quot;300&quot;
/crystal:CrystalReportViewer/WindowsFormsHost
/GridAlvaro</description> <content:encoded><![CDATA[<p>the first way was deleted..</p><p>Basically, I puted the code directly in xaml and after in the event Page_Load I seted the Reporsource with the path/report1.rpt</p><p>Grid Name=&#8221;frmGrid&#8221;<br
/> WindowsFormsHost<br
/> crystal:CrystalReportViewer x:Name=&#8221;crystalReportViewer1&#8243; Width=&#8221;300&#8243; Height=&#8221;300&#8243;<br
/> /crystal:CrystalReportViewer</p><p> /WindowsFormsHost<br
/> /Grid</p><p>Alvaro</p> ]]></content:encoded> </item> <item><title>By: Alvaro</title><link>http://www.redmondpie.com/incorporate-crystal-reports-in-a-c-wpf-application/comment-page-1/#comment-2927</link> <dc:creator>Alvaro</dc:creator> <pubDate>Thu, 23 Apr 2009 13:26:03 +0000</pubDate> <guid
isPermaLink="false">http://www.redmondpie.com/incorporate-crystal-reports-in-a-c-wpf-application/#comment-2927</guid> <description>Hi Sumair,I did all what you say, but I have used a Page control and your code doesn&#039;t work.I dont know that I doing bad.I tried with 2 ways:1.2.
private void Page_Loaded(object sender, RoutedEventArgs e)
{
Report1 objRpt;
CrystalReportViewer crystalReportViewer1;WindowsFormsHost host = new WindowsFormsHost();
crystalReportViewer1 = new CrystalReportViewer();
objRpt = new Report1();crystalReportViewer1.ReportSource = objRpt;
host.Child = crystalReportViewer1;
frmGrid.Children.Add(host);
}Alvaro</description> <content:encoded><![CDATA[<p>Hi Sumair,</p><p>I did all what you say, but I have used a Page control and your code doesn&#8217;t work.</p><p>I dont know that I doing bad.</p><p>I tried with 2 ways:</p><p>1.</p><p>2.<br
/> private void Page_Loaded(object sender, RoutedEventArgs e)<br
/> {<br
/> Report1 objRpt;<br
/> CrystalReportViewer crystalReportViewer1;</p><p> WindowsFormsHost host = new WindowsFormsHost();<br
/> crystalReportViewer1 = new CrystalReportViewer();<br
/> objRpt = new Report1();</p><p> crystalReportViewer1.ReportSource = objRpt;<br
/> host.Child = crystalReportViewer1;<br
/> frmGrid.Children.Add(host);<br
/> }</p><p>Alvaro</p> ]]></content:encoded> </item> <item><title>By: Sumair</title><link>http://www.redmondpie.com/incorporate-crystal-reports-in-a-c-wpf-application/comment-page-1/#comment-2878</link> <dc:creator>Sumair</dc:creator> <pubDate>Thu, 16 Apr 2009 19:27:37 +0000</pubDate> <guid
isPermaLink="false">http://www.redmondpie.com/incorporate-crystal-reports-in-a-c-wpf-application/#comment-2878</guid> <description>Its the name of the main grid, i forgot to mention it here  :&#124; my bad. Actually i named it master_grid in XAML file, you can either do the same or under initialization of form just creat a new grid and name it &#039;master_grid&#039;. Hope this will helpsumair</description> <content:encoded><![CDATA[<p>Its the name of the main grid, i forgot to mention it here <img
src='http://www.redmondpie.com/wp-includes/images/smilies/icon_neutral.gif' alt=':|' class='wp-smiley' /> my bad. Actually i named it master_grid in XAML file, you can either do the same or under initialization of form just creat a new grid and name it &#8216;master_grid&#8217;. Hope this will help</p><p>sumair</p> ]]></content:encoded> </item> </channel> </rss>
<!-- This site's performance optimized by W3 Total Cache. Dramatically improve the speed and reliability of your blog!

Learn more about our WordPress Plugins: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (user agent is rejected)
Database Caching 6/21 queries in 0.085 seconds using disk

Served from: redmondpie.com @ 2010-03-19 15:40:43 -->