Click here to Skip to main content
12,243,752 members (41,728 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: CrystalReports
Hi,
I wish to hide the group tree of the crystal report viewer programatically.
Intellisense denied any "DisplayGroupTree" property of the control!
A little googling yielded the fact that in VS 2008 the "ToolPanelView" property serves the purpose.
The intellisense denied even this property.
I am using VS 2008 and the build is with target 3.5 framework.
I feel betrayed.
Please help!

Regards,
Sid
Posted 16-Mar-10 2:03am
Comments
000mann000 23-Jan-13 13:33pm
   
i also want to know that how i can hide grouped report in crystal report,, if screen shot will be show than it will be helpful..
thanks
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 3

CrystalReportViewer1.ToolPanelView = CrystalDecisions.Web.ToolPanelViewType.None;
  Permalink  
Comments
Kinjal Sucess 29-Oct-13 4:51am
   
Thanks.. it works..
smrafat 8-Jan-14 4:09am
   
but where to add this code?
Maduwantha Hettiarachchi 16-Sep-14 0:45am
   
You can add Like this


switch (Request.QueryString["ReportName"].ToString())
{
case "IWBranchWiseDetailReport":
CrystalReportViewer1.ReportSource = (object)Session["ReportData"];
CrystalReportViewer1.ParameterFieldInfo = (CrystalDecisions.Shared.ParameterFields)Session["ReportParams"];
break;

case "IWChequesReferrdByRmWithRemarks":
CrystalReportViewer1.ReportSource = (object)Session["ReportData"];
CrystalReportViewer1.ParameterFieldInfo = (CrystalDecisions.Shared.ParameterFields)Session["ReportParams"];
break;


}
MultiView1.ActiveViewIndex = 0;
CrystalReportViewer1.ToolPanelView = CrystalDecisions.Web.ToolPanelViewType.None;
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 7

This is what I do
crystalReportViewer1.ToolPanelView = CrystalDecisions.Windows.Forms.ToolPanelViewType.None;
  Permalink  
Comments
Member 9665443 1-Feb-14 6:42am
   
It works...Thanx
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

I added the line above...
"Intellisense denied any "DisplayGroupTree" property of the control!"
In VS2008 the property has been removed.... Cry | :((
  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 6

Please check solution here:
Hide Report Group Tree in WPF
  Permalink  
v2
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

Hi babai28

you can hide group tree using this

crystalReportViewer1.DisplayGroupTree = false;

this will hide group tree

Hope this will help you
  Permalink  
Comments
mehedi4055 27-Dec-11 22:48pm
   
Yes. You are right. Thanks.
pravee michael 26-Jun-13 8:43am
   
Thank u ...for right answer
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 4

I Solve This issue If anyone still Looking 4 answer email me on
Wais2010@yahoo.com
  Permalink  
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160426.1 | Last Updated 12 Feb 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100