Click here to Skip to main content
Rate this: bad
good
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 at 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 at 29-Oct-13 4:51am
   
Thanks.. it works..
smrafat at 8-Jan-14 4:09am
   
but where to add this code?
Maduwantha Hettiarachchi at 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 at 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 at 27-Dec-11 22:48pm
   
Yes. You are right. Thanks.
pravee michael at 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
0 OriginalGriff 277
1 Maciej Los 240
2 DamithSL 200
3 Raul Iloc 185
4 Richard MacCutchan 175
0 OriginalGriff 5,130
1 DamithSL 4,197
2 Maciej Los 3,670
3 Kornfeld Eliyahu Peter 3,470
4 Sergey Alexandrovich Kryukov 2,821


Advertise | Privacy | Mobile
Web04 | 2.8.141216.1 | Last Updated 12 Feb 2012
Copyright © CodeProject, 1999-2014
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