TreeViewAdv firing AfterCheck events

Hi, I''m trialling the Syncfusion 4.1 Beta, and I noticed that I''m getting AfterCheck events on my tree even though ShowCheckBoxes is false and no check boxes are displaying. I don''t think that these events should be firing - and I don''t think they were in 3.3. Do you consider this a bug, or will I need to add testing into my event handler to check whether a checkbox is actually being displayed. Thanks, Sue

3 Replies

DT Deepa TS Syncfusion Team December 16, 2005 05:56 AM UTC

Hi Sue, I am afraid, I was not able to see your problem in TreeViewAdv. I checked in the latest build 4.1 Beta version release.Please take a look at this sample which reproduces your problem. In this AfterCheck event is fired only when the ShowCheckBoxes is set to true. Thanks for your patience and your continued interest in Syncfusion products. Best Regards , Deepa.T.S

Aftercheck.zip


SH Sue Harris December 21, 2005 12:59 AM UTC

Hi Deepa.T.S, I''ve modified your sample to show the problem. The events are being fired when the tree is being populated. So you should see the AfterCheck event firing when you click the button to populate the tree. Regards, Sue

Aftercheck0.zip


DT Deepa TS Syncfusion Team December 21, 2005 05:45 AM UTC

Hi Sue, Sorry for the inconvenience caused. I was able to see the issue and thanks a lot for bringing this to our attention. I have logged a bug report bug #1280 In treeViewAdv AfterCheck event is fired unnecessarily when the node has no checkBoxes in 4.1.0.9V. Regarding this issue you could track the status of this bug fix in the above link. Thanks for your patience and interest in Syncfusion products. Best regards, Deepa.T.S

Loader.
Up arrow icon