.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Sandeep Singh
Post New Web Links

May i use the collapse and expand feature (like tree menu) in Report ?

Posted By:      Posted Date: August 21, 2010    Points: 0   Category :ASP.Net

HI all,

May i use the collapse and expand feature (like tree menu) at Report iam using the Report viewer  Control for displaying the Report on my Asp.net Page .


I have number records and each record have detail as i clicked or expand the record then details will be shown is it possible with report viewer control 
If any one have experince before please share the ideas.


Best Regards

View Complete Post

More Related Resource Links

Create a Tree view with expand or collapse using XSLT


I have created an XSLT file to show the contents of xml in HTML format in the form of a tree. Now, my requirement is to add expand or collapse capability to this output(html) using XSLT and Javascript. The sample output looks like this:

Resource Center

  • Home
    • Resource Center
    • List of Resource Types
    • How to Prevent the expand/collapse behaviour of my Custom Activity?

        How can I prevent the expand feature of my custom activity with custom designer ? I have custom WF4 activities with Custom designers. These activities are not container activities. I just want to prevent the expand feature of the same; just like Assign activity. I set the Collapsible attribute of teh ActivityDesigner false; but still it is expanding to the next level. Thanks AmbilyIT Analyst

Expand /Collapse quick launch

Hi All, Can any one help in getting the below link script for collapse and expand quick launch. I did not find any script. it says to paste script in master page using designer http://www.endusersharepoint.com/2009/03/27/deploy-custom-jquery-scripts-to-the-sharepoint-site-collection/ any idea? i want exact above link Thanks in Advance

Expand/collapse row to create a new row to display a frame in a datagrid

Hi , I am using .Net Framework 2.0 as its a old application with a datagrid in a page. I want to expand each row when clicked to create a new row to display a page in the newly created row. Can someone help me in this regard<asp:datagrid id="dgdOrders" runat="server" cellpadding="4" borderwidth="1" gridlines="Horizontal" allowpaging="True" autogeneratecolumns="false" datakeyfield="OrderNumber" cssclass="gridStyle" pagerstyle-visible="False"> <itemstyle wrap="False" cssclass="gridItemStyle" backcolor="white"></itemstyle> <alternatingitemstyle wrap="False" cssclass="gridAltItemStyle" backcolor="WhiteSmoke"></alternatingitemstyle> <headerstyle cssclass="gridHeader"></headerstyle> <columns> <asp:templatecolumn headertext="Hold"> <headerstyle horizontalalign="center"></headerstyle> <itemstyle horizontalalign="center"></itemstyle> <itemtemplate> <%# DataBinder.Eval(Container.DataItem, "IsHold") %> </itemtemplate> </asp:templatecolumn> <asp:templatecolumn headertext="Purchase Order"> <headerstyle horizontalalign="center"></headerstyle>

Disable Expand All/Collapse All workflow designer hyperlinks?

Hi,In a blog post by Matt Winker (http://blogs.msdn.com/mwinkle/archive/2009/10/20/wf4-designer-enhancements-in-vs-2010-beta-2.aspx), he notes that: "Additionally, you can choose to expand or collapse individual nodes, or go to the "Expand All" command in order to expand out the tree.  One thing to note is that we don't allow expansion inside of a flowchart because we don't yet have a mechanism that lets me rearrange all of the items around that newly expanded activity.  "My question is, will there be a way by the time RTM releases to do expansion within a flow chart?  The flow chart model is what I'll be using exclusively, so I'm quite interesetd in this.If there will not be support by the time workflow reaches RTM, is there or will there be a way that we can hide the Expand All/Collapse All hyperlinks?Thank you,Notre

Animation of Expander expand / collapse programmatically



once more a post about the expander animation.

i found a lot of xaml examples for a animated expander during expand/collapse.

like this => http://mattserbinski.com/blog/animating-expander


but how can i do that programmatically?

i have dynamic created nested expander controls and i would like to have a global animation for all controls.

how can i solve that ?


thanks for help




programmatically expand/collapse the collapsiblepanelextender


using c#.net/asp.net 2005.

I have a collapsiblepanelextender that is working well when the user clicks on the "expand" and "collapse" buttons on the screen, however I would like to programmatically expand and collapse the collapsiblepanelextender in the c# code-behind.  Has anyone done this before?

I am typing the name of the collapsiblepanelextender in the code behind function and intellisense is not even showing that control as being a control that I can access from the aspx page so not certain why this is happening.

when I look in the aspx page the collapsiblepanelextender has a red squiqqly error line under it that says (when you mouse over it): "element 'collapsiblepanelextender' is not a known element. this can occur if there is a compilation error in the website"

but the panel works well when the user clicks it to expand and collapse and there are no compilation errors on the page, otherwise the page would not run, does this make sense?



Expand /Collapse quick launch


Hi All,

Can any one help in getting the below link script for collapse and expand quick launch.

I did not find any script. it says to paste script in master page using designer


any idea?

i want exact above link

Thanks in Advance

SSRS 2008 - Drilldown - Grouping collapse/expand /title/header



I have been able to have a report with Group / Group count and Details.

The issue I have are:

1. When I collapse the drilldown to get only the Group and Group countit just collapse per page not the full report...I would like to have all Group / Group count on 1 or two pages and then epand as needed...

2. The title and column headers appear only on the first page... how to get it on all pages?

What is the "Linked Report" doing? Is it another kind of Drill Down..?

I need to have my summary report per OS for example shows only the OS Name then Count and if I click to expand I will have the servers in this group... but it seems working reverse way, I mean you have the details and if you collaspe you have the summary but this seems limited per page...



System Center Operations Manager 2007 / System Center Configuration Manager 2007 R2 Support

Expand All/Collapse All Buggy


I've scoured the forums and no one has ever answered this question for other people who have posted it.

I have a SSRS 2005 report where the user can choose to expand all groups by selecting yes or no in a parameter called ExpandAllGroups. It works great for the most part - if they chose to expand all groups, then all four groups and my details line all show as expected.

However, once they've run the report with everything initially expanded and they decide to collapse group #1 it will actually still retain all the space that the three child groups occupied. So if it took up five pages total and you collapse it, it still has five pages of white space showing between what you just collapsed and the next grouping. My report is massive and I have one group that if you collapse it then you have something like 50 pages of white space until the next group.

The only suggestion I've seen is setting up your visibilty property via the group dialog box rather than the visibility properties for the row. I did this to no avail. It doesn't appear to matter if I do it on the row or on the group, it still fails to collapse correctly.

Anyone found a solution to this?? There were about a half dozen previous posts with the same issue but no resolution was ever posted.




How to change th SPGridView Expand/Collapse images


Hi All,

How I can change the SPGridView Expand/Collapse Image for a SPGridView, By default it will display the "plus and minus" images, I want to use my own image insteadof this, Please let me the solution.



How to track Collapse/ Expand event of AJAX Collapsible Panel Extender to call javascript ?



I am working with AJAX Panel Collapsable panel extender.

The Panel which is to be collapsed/Expanded using AJAX panel Extender contains one custom control, containing 3 Radio buttons one of them is set checked through a javascript function when page loads. I have kept the default property of AJAX collapsable panel as Collapsable.

Script for AJAX Collapsible Panel Extender is as follow. 

 <ajax:CollapsiblePanelExtender ID="cpeSOP" runat="Server" CollapseControlID="pnlCollapsable"
   CollapsedSize="0" Collapsed="True" CollapsedImage="~/public/img/arrowRightWhite.gif"
   ExpandControlID="pnlCollapsable" ExpandDirection="Vertical" ExpandedImage="~/public/img/arrowDownWhite.gif"
   ImageControlID="Image1" SuppressPostBack="true" TargetControlID="pnlSearchCriteria">

But problem is that when page loads, collapsible panel gets collapsed but it resets the radio buttons in custom control. i.e. First radio button does not get checked. Script for Collpsable panel is as follow. I want to call some javascript code when the panel is Collapsed or Expanded. Is there any way to track Coll

Animating expander collapse/expand in xaml ?


I'm trying to make a custom template for Expander to animate the collapse and expand (as in windows xp). When i add the following trigger :

<Trigger Property="IsExpanded" Value="True">
DoubleAnimation Storyboard.TargetName="Content"

Collapse / Expand parameters



I've indented the ParameterCaptions on my parameter lists and it works fine, but there are 100's of levels, so this makes the UI extremely non-friendly to the user.

I know that Microsoft has not built in capability to expand or collapse parameter lists, but is there any way to build this in with custom code or by combining it with a different product?

Any ideas are welcome.



Louis Young

Auto expand / collapse treeview



I created a sitemap with a treeview navigation in my aspx site.  I  am hoping someone can show me the code to put in a Masterpage so that when I expand a child node, all other nodes collapse, and when I expand another node, the previous expanded node collapses. I have an example here of what I am trying to accomplish:


I am using asp.net with VB.

I will appreciate any assistance with this.  I have been scouring the internet looking for a solution, but so far haven't found anything that works.

Thank you


Report Builder Getting Started Menu Customization


When click once application (Report Builder) is selected, I want to customize Menu option (New Report, New Dataset, Open, Recent) based on who is the authorized user. For example, if I have a user who falls into role of creating dataset only, they should see only "New Dataset" option. Is it possible?


Thanks in advance.

WPF TreeView save expand-collapse state


Hi, I am using TreeView to display my data in UI. Now my application refreshes every 5 seconds so that it shows the most current data. Is there a way I can save my expanded state or collapsed state of treeview even after window reload? Because if I have a huge amount of data and I take more than 5 seconds to go to desired data, the TreeView just collapses after every 5 seconds with window refresh, and I have to start from scratch.

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend