Skip to Content
author's profile photo Former Member
Former Member

How to display or hide the Group Tree in CrystalReportViewer

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?

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on May 02, 2011 at 02:46 PM
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 02, 2011 at 04:12 PM

    In which file do I have to edit the following?

    C#:

    To Turn off:

    crystalReportViewer.ToolPanelView = ToolPanelViewType.None;

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 02, 2011 at 06:22 PM

    "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>

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 03, 2011 at 03:20 AM

    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 😔

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.