Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TreeView control shows odd behavior #3

Open
mcswaip1 opened this issue Mar 1, 2021 · 6 comments
Open

TreeView control shows odd behavior #3

mcswaip1 opened this issue Mar 1, 2021 · 6 comments

Comments

@mcswaip1
Copy link

mcswaip1 commented Mar 1, 2021

Situation:
We have a WinForms .NET Core application.
TreeView control showing a list of parent and child items (several).
Parent items have ShowCheckBox = false
Child items have ShowCheckBox = true

Check the first child item.
All the child items under that parent get checked.
Is this expected behavior?

@VijayalakshmiVR
Copy link

Hi mcswaip1,

Thank you for using Syncfusion Products.

We could observe that you are enabling checkbox for child item and disabled for parent item. But while you checking the first child item, it automatically selects all child . We too checked in your provided example, but we could able to observe that on selecting the item in checkbox , it does select only that particular checkbox item and not all other items. Please find the video for the same from following

Video: https://www.syncfusion.com/downloads/support/directtrac/general/ze/Checkstate_Treeview-949457604

So kindly check the video and confirm us whether our understanding on the reported behavior is correct. If not, please send us the video that shows the exact issue, it would be helpful for us to proceed on it further. We have ensured it in 17.4.0.55v

Regards,
Vijayalakshmi VR

@mcswaip1
Copy link
Author

mcswaip1 commented Mar 4, 2021

Vijayalakshmi VR,
I probably uploaded the incorrect zip file. I have a video demonstrating the issue and will also include a correct version of the example that I used to demonstrate the issue in the video.

Thank you
Paul

CheckBox-Binding-modified.zip

video: https://user-images.githubusercontent.com/20447369/109988678-c599c780-7cd5-11eb-86be-d2886d366271.mp4

@mcswaip1
Copy link
Author

mcswaip1 commented Mar 4, 2021

This seems to be related to the InteractiveCheckBoxes property of the TreeViewAdv control. If this is true, selecting the first child (with parent not showing checkboxes) checks all the children under that parent. If this is false, then it behaves as expected.
I'm not sure if this is a bug in the functionality or just the way it is supposed to be.

@ThirupathiBalakrishnan
Copy link

Hi Paul,

Sorry for the delay.

We have confirmed the reported scenario is a defect and logged a report for the reported scenario “Checkboxes not selected properly when InteractiveCheckBoxes is true”. We’ll include the code changes in our upcoming weekly nuget release expected to be published on 14th September, 2021.

You can track the status of this defect using the following feedback link:
https://www.syncfusion.com/feedback/28340/checkboxes-not-selected-properly-when-interactivecheckboxes-is-true

If you have any more specification replication procedure or a scenario to be tested you can add it as a comment in the portal.

Please let us know if you need any further assistance.

Regards,
Thirupathi B.

@ThirupathiBalakrishnan
Copy link

Hi Paul,

Thanks for your patience.

The reported issue " Checkboxes not selected properly when InteractiveCheckBoxes is true" has been resolved, and the code changes have been included in our most recent weekly nuget version 19.2.0.62. The reported Nuget packages have been published on nuget.org. The packages can be downloaded from the following link.

Nuget link: https://www.nuget.org/

Please let us know if you need any further assistance.

Regards,
Thirupathi B.

@github4mathews
Copy link

Type 'System.IO.MemoryStream' in Assembly 'System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' is not marked as serializable.

Picture

How can I resolve this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants