cancel
Showing results for 
Search instead for 
Did you mean: 

How to display or hide the Group Tree in CrystalReportViewer

Former Member
0 Kudos

Hi

I'm a newbie wrt to Dotnet, I have .NET 3.5 framework and I have done a ASP .NET project with Visual studio 2008 with crystal reports 2008. I get 'DisplayGroupTree' property cannot be set declaratively error when I try to build my project.

Could someone explain me in detail how to achieve what is mentioned in this link?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Forgot to paste the [link|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333133383333333733303334%7D.do]

Thanks in advance

Edited by: Ludek Uher on May 2, 2011 8:16 AM

former_member183750
Active Contributor
0 Kudos

Umm, I have problems understanding your question... Looking at the Kbase you reference, it looks pretty self explanatory. What specifically is mystifying you in that KBase?

Make sure you're on [SP3|https://smpdl.sap-ag.de/~sapidp/012002523100007123572010E/cr2008_sp3.exe]

- Ludek

Answers (3)

Answers (3)

Former Member
0 Kudos

Im afraid thts too much of information.. Im finding it tough to find a solution, Is there any easy way to resolve this problem kindly help me

former_member183750
Active Contributor
0 Kudos

I don't understand what is so difficult in downloading one sample app? Download the sample vbnet_win_simplepreviewreport.zip and see how things are done.

- Ludek

Former Member
0 Kudos

"crystalReportViewer1.ReportSource" i dont find this anywhr in the file.

pasting a small portion of my code.....

<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Reports.aspx.cs" Inherits="Reports" Title="Reports Details" %>

<CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server" AutoDataBind="True"

DisplayGroupTree="False" DisplayToolbar="False" Height="1013px"

Width="773px" />

</td>

</tr>

<tr>

</tr>

<tr>

</tr>

<tr>

</tr>

<tr>

<td colspan="9">

<CR:CrystalReportSource ID="CrystalReportSource1" runat="server">

<Report FileName="CrystalReport1.rpt">

</Report>

</CR:CrystalReportSource>

</td>

</tr>

</table>

</div>

</div>

&nbsp;<br />

</asp:Content>

former_member183750
Active Contributor
0 Kudos

I think it will be a good idea to have a look at some sample apps. I'd recommend something like [vbnet_win_simplepreviewreport.zip|https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsfor.NETSDK+Samples].

( I realize you're using C#, so any C# on the above link will do fine also.)

Having a peek at the article [Crystal Reports for Visual Studio 2005 Walkthroughs|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/2081b4d9-6864-2b10-f49d-918baefc7a23] would be recommended.

Developer help files are a great resource also:

http://help.sap.com/businessobject/product_guides/boexir31/en/crsdk_net_dg_12_en.chm

http://help.sap.com/businessobject/product_guides/boexir31/en/crsdk_net_apiRef_12_en.chm

- Ludek

Former Member
0 Kudos

In which file do I have to edit the following?

C#:

To Turn off:

crystalReportViewer.ToolPanelView = ToolPanelViewType.None;

former_member183750
Active Contributor
0 Kudos

In which file?

The form where you have crystalReportViewer1.ReportSource = <path, etc. to your report>

- Ludek