This is a migrated thread and some comments may be shown as answers.

[Solved] RadGrid ExpandCollapseColumn

2 Answers 300 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ihab
Top achievements
Rank 1
Ihab asked on 27 Jul 2009, 07:34 AM
Hello I am using RadGrid ExpandCollapseColumn
but I am requested to mack all expand icons as expanded mode
any help?

2 Answers, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 27 Jul 2009, 07:57 AM
Hi Ihab,

If you want to set the image urls for Expand mode and Collapse mode you can set the ButtonType property of the Column to ImageButton and also set the ExpandImageUrl and CollapseImageUrls respectively:
aspx:
<telerik:GridExpandColumn ButtonType="ImageButton" ExpandImageUrl="../../Images/Image1.gif" 
 CollapseImageUrl="../../Images/Image2.gif"></telerik:GridExpandColumn>            

If you want to set the grid rows expanded on page load then you can set the HierarchyDefaultExpanded property of the OwnerTableView object to true as shown below:
 <telerik:RadGrid ID="RadGrid1" runat="server" DataSourceID="Sqldatasource1">                
                <MasterTableView HierarchyDefaultExpanded="true" DataSourceID="Sqldatasource1"
               

If this does not meet your requirement, feel free to get back with a bit more of explanation.
-Princy.
0
Ihab
Top achievements
Rank 1
answered on 29 Jul 2009, 09:52 PM
Hi,
I have a very serious proplem related to my pages use RadAjaxManager v2008.2.723.35
I noticed that the page without RadAjaxManager that costs arround 200 KB jumps to 1.2 MB using RadAjaxManager

this realy effects the overall performance of my web application and dangerously decrease the time needed to load each page

I will appreciate your help,
Ihab
Tags
Grid
Asked by
Ihab
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Ihab
Top achievements
Rank 1
Share this question
or