My favorites | Sign in
Project Home Downloads
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 322: Persistence Selects Nodes that were not previously selected.
1 person starred this issue and may be notified of changes. Back to list
Status:  Done
Owner:  ----
Closed:  Jun 2012


 
Reported by gabe...@gmail.com, Jun 11, 2012
What steps will reproduce the problem?

Not sure if this is a bug or a feature ;-)

1. Using IE 9
2. Dynatree is populated via a repeater in .Net from code behind.
3. The tree has parent and child nodes
4. When the second parent is selected, (and the children)
5. After postback, the second child of the first parent is also selected, which wasn't selected by the user

I have a work around for the issue. The issue is when the parent has the same key value as a child, which is ok from a db perspective - (different entities), the child with the same ID is selected on post back.


*** I resolved it by prepending a couple of chars to the Parent when it's loaded. ***


If possible, please attach an example HTML file (e.g. a copy of `doc/_test-
ISSUE.html`), that reproduces the problem when copied
into the dynatree/doc/ folder or reproduce on jsFiddle:

1. open http://jsfiddle.net/mar10/xj5au/
2. [Fork] - Modify code - [Update] - [Share]

What is the expected output? What do you see instead?


What version of the dynatree and jQuery are you using?
On what operating system and browser?
What DOCTYPE declaration are you using?

Please provide any additional information below.

Jun 16, 2012
Project Member #1 moo...@wwwendt.de
From dynatree perspective, keys have tp be unique, so your fix makes sense.
Thanks for reporting it.
Status: Done
Labels: Milestone-Release1.2.1

Powered by Google Project Hosting