This is a migrated thread and some comments may be shown as answers.

CheckedNodes returning 0

7 Answers 126 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Adam
Top achievements
Rank 1
Adam asked on 21 Sep 2011, 04:45 PM
This was working before upgrading to the recently released Q2 service pack.

I'm adding nodes with subnodes and defaulting them all to checked. The treeview is inside of a PageView and the multipage has the following settings:

<telerik:RadMultiPage runat="server" RenderSelectedPageOnly="true" ID="mp" Style="border: 1px solid gray">

When I click the tab to go the second pageview, the treeview checkednodes collection is empty. The treeview nodes then become unchecked. However, if I change the RenderSelectedPageOnly to false, they will remain checked and everything works as expected. I believe something was broken in the latest release.

Thanks,
Adam

7 Answers, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 26 Sep 2011, 04:00 PM
Hi Adam,

I inspected the issue but could not observe any unusual behaviour. Would you please try to provide us with some more information on how this functionality can be reproduced.

Kind regards,
Plamen Zdravkov
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
Adam
Top achievements
Rank 1
answered on 26 Sep 2011, 04:18 PM
Here is what I have for the TabStrip:
<telerik:RadTabStrip ID="tab" runat="server" MultiPageID="mp">
                    <Tabs>
                        <telerik:RadTab Text="Criteria" PageViewID="pgCriteria">
                        </telerik:RadTab>
                        <telerik:RadTab Text="Schedule" PageViewID="pgSchedule">
                        </telerik:RadTab>
                    </Tabs>
                </telerik:RadTabStrip>
0
Adam
Top achievements
Rank 1
answered on 26 Sep 2011, 04:19 PM
Here is what I have for the treeview:
<telerik:RadTreeView ID="trvTo" runat="server" CheckBoxes="true" TriStateCheckBoxes="true"
                            Width="500px" Height="350px">
                        </telerik:RadTreeView>
0
Adam
Top achievements
Rank 1
answered on 26 Sep 2011, 04:26 PM
Here is a video of it working with RenderSelectedPageOnly="false" on the RadMultiPage:
http://screencast.com/t/bWz9t8m2o3

Here is a video of it broken with RenderSelectedPageOnly="true" on the RadMultiPage:
http://screencast.com/t/SAr6f7KO

The only thing I changed from one demo to the other was the RenderSelectedPageOnly property.
0
Plamen
Telerik team
answered on 29 Sep 2011, 03:49 PM
Hello Adam,

It seems that some changes have been made and repaired after that. Would you please try to test with some of the latest versions.

If you still experience problems, would you please isolate the issue in a sample project and send it to us via a support ticket so we could fix it.

All the best,
Plamen Zdravkov
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
Adam
Top achievements
Rank 1
answered on 03 Oct 2011, 04:07 PM
I'm assuming you mean that it's been fixed in the latest internal builds? If the fix will be included with the next major release or service pack, I can wait until then.
0
Plamen
Telerik team
answered on 06 Oct 2011, 04:28 PM
Hello Adam,

Unfortunately I could not reproduce the exact issue so I would recommend you to log in your account
and get the new build from here. If you still experience the issue it will means that it is not fixed correctly and we will need to sample project to inspect where exactly is the problem.
 
Best wishes,
Plamen Zdravkov
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
Tags
TreeView
Asked by
Adam
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Adam
Top achievements
Rank 1
Share this question
or