7 Answers, 1 is accepted
0

Jayesh Goyani
Top achievements
Rank 2
answered on 07 Sep 2012, 05:58 AM
Hello,
Please try with below code snippet.
Thanks,
Jayesh Goyani
Please try with below code snippet.
<
MasterTableView
HierarchyLoadMode
=
"Client"
>
Thanks,
Jayesh Goyani
0

Alexis
Top achievements
Rank 1
answered on 07 Sep 2012, 12:11 PM
thanks for the help,
Now the postback but does not run any event, not expanded, as could capture that sign + is pressed?
thanks
Now the postback but does not run any event, not expanded, as could capture that sign + is pressed?
thanks
0

Princy
Top achievements
Rank 2
answered on 07 Sep 2012, 12:19 PM
Hi,
You can capture the event in ItemCommand event as shown below.
C#:
Thanks,
Princy.
You can capture the event in ItemCommand event as shown below.
C#:
protected
void
RadGrid1_ItemCommand(
object
sender, GridCommandEventArgs e)
{
if
(e.CommandName == RadGrid.ExpandCollapseCommandName)
{
//your code
}
}
Thanks,
Princy.
0

Alexis
Top achievements
Rank 1
answered on 07 Sep 2012, 05:33 PM
thank you very much,
and solved it by adding
<MasterTableViewHierarchyLoadMode="Client">
and
AllowGroupExpandCollapse="True" <ClientSettings AllowExpandCollapse = "true"/>
in radgrid and master table.
ItemCommand event capture
regards
and solved it by adding
<MasterTableViewHierarchyLoadMode="Client">
and
AllowGroupExpandCollapse="True" <ClientSettings AllowExpandCollapse = "true"/>
in radgrid and master table.
ItemCommand event capture
regards
0

Rachana
Top achievements
Rank 1
answered on 10 Apr 2014, 10:09 AM
Hi
I am using RadGrid for grouping, in the same page using asp dropdownlist when i changed event in dropdown list ,Radgrid groups are collapsed but expanded symbol is not changing...before auto post back some are expanded dynamically...after postback also how can i expand previously expanded groups?
I am using RadGrid for grouping, in the same page using asp dropdownlist when i changed event in dropdown list ,Radgrid groups are collapsed but expanded symbol is not changing...before auto post back some are expanded dynamically...after postback also how can i expand previously expanded groups?
0

Jayesh Goyani
Top achievements
Rank 2
answered on 10 Apr 2014, 10:38 AM
Hello,
Whenever you will expand/collapse any group at that time store/remove group key into HiddenFiled.
So, at the time of postback get the value from the hiddenField and based on its value expand/Collapse Radgrid's Group(s).
Let me know if I am not understand your requirement/question.
Thanks,
Jayesh Goyani
Whenever you will expand/collapse any group at that time store/remove group key into HiddenFiled.
So, at the time of postback get the value from the hiddenField and based on its value expand/Collapse Radgrid's Group(s).
Let me know if I am not understand your requirement/question.
Thanks,
Jayesh Goyani
0

Rachana
Top achievements
Rank 1
answered on 10 Apr 2014, 01:06 PM
Hello Jayesh,
Thanks for help...
I done same thing but expand/collapse symbol is changing. but not expanding...for more detail please chk the attached file
Thanks for help...
I done same thing but expand/collapse symbol is changing. but not expanding...for more detail please chk the attached file