Lukasz Kalbarczyk
Top achievements
Rank 1
Lukasz Kalbarczyk
asked on 12 Dec 2011, 05:38 PM
Here we can see a part of my tree:
a
|- b
|- c
|- d
|- e
I'm expanding d:
a
|- b
|- c
|- d
| |- f
|- e
I'm expanding f:
a
|- b
|- c
|- d
| |- f
| | |- g
|- e
Now I'm expandng c:
a
|- b
|- c
| |- h
| | |- i
|- d
| |- f
|- e
f is no more expanded. Instead of f, h was expanded and I see i under h instead of g under f.
All branches are bound with needdatasource events: NeedDataSource or ChildItemsDataBind for children.
The only way to fix it is:
on Page_Load event: to find all items connected to ExpandedIndexes and save their DataKeys
on ItemDataBound set item.Expanded to true/false
But when I set item.Expanded to false, it is set up back to true.
I must remove its from ExpandedIndexes manually, using Page_PreRender...
Why
item.Expanded = false
doesn't do that?
a
|- b
|- c
|- d
|- e
I'm expanding d:
a
|- b
|- c
|- d
| |- f
|- e
I'm expanding f:
a
|- b
|- c
|- d
| |- f
| | |- g
|- e
Now I'm expandng c:
a
|- b
|- c
| |- h
| | |- i
|- d
| |- f
|- e
f is no more expanded. Instead of f, h was expanded and I see i under h instead of g under f.
All branches are bound with needdatasource events: NeedDataSource or ChildItemsDataBind for children.
The only way to fix it is:
on Page_Load event: to find all items connected to ExpandedIndexes and save their DataKeys
on ItemDataBound set item.Expanded to true/false
But when I set item.Expanded to false, it is set up back to true.
I must remove its from ExpandedIndexes manually, using Page_PreRender...
Why
item.Expanded = false
doesn't do that?
6 Answers, 1 is accepted
0
Hello Lukasz,
We were able to reproduce the behavior you are talking about and we consider this as a bug in our current RadTreeList implementation. We have forwarded this to our developer team for further investigation.
We apologize for the inconvenience caused.
Kind regards,
Andrey
the Telerik team
We were able to reproduce the behavior you are talking about and we consider this as a bug in our current RadTreeList implementation. We have forwarded this to our developer team for further investigation.
We apologize for the inconvenience caused.
Kind regards,
Andrey
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
Lukasz Kalbarczyk
Top achievements
Rank 1
answered on 14 Dec 2011, 10:33 PM
No problem for me - I found the solution ;)
Something is wrong with selected items after expanding too.
Thx for reply.
Something is wrong with selected items after expanding too.
Thx for reply.
0
Robin
Top achievements
Rank 1
answered on 14 Aug 2012, 01:11 PM
Has this been fixed?
Thank you.
Thank you.
0
Hello,
Yes, this bug was fixed for the Q3 2011 SP1 release of RadControls for ASP.NET Ajax suite.
Regards,
Andrey
the Telerik team
Yes, this bug was fixed for the Q3 2011 SP1 release of RadControls for ASP.NET Ajax suite.
Regards,
Andrey
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Robin
Top achievements
Rank 1
answered on 15 Aug 2012, 01:26 PM
When did that release come out?
Thank you.
Thank you.
0
Hi,
The Q3 2011 SP1 release was introduced 5.01.2012. You could download it from your account home page.
Greetings,
Andrey
the Telerik team
The Q3 2011 SP1 release was introduced 5.01.2012. You could download it from your account home page.
Greetings,
Andrey
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.