The node code is greater than zero when I step through the code in Page_Init, but once i hit Page_Load or Page_PreRender and I check the node code it becomes zero. This only happens on the very first page load. On every subsequent load everything works as intended. There is no other code affecting the treeview.
The tree view is declared as follows:
telerik:RadTreeView ID="rtvLocations" Runat="server" Height="350px" Width="286px" CheckBoxes="True" Skin="Default"></telerik:RadTreeView>
And the code to load it is as follows:
.DataSource = dtDestinations