Hello Matt Davis,
I presume you are using a declarative datasource do databind the treeview. In this case the nodes are populated later than page_load. I suggest you subscribe to the DataBound event of the treeview and use the suggested code there. That event is fired after the treeview is databound so the Nodes collection will be populated.
the Telerik team