TechTalkz.com Logo

Go Back   TechTalkz.com Technology & Computer Troubleshooting Forums > Tech Support Archives > Programing Languages > C#(C Sharp)

Notices

Reply
 
Thread Tools Display Modes
Old 27-11-2007, 05:29 PM   #1
Christof Nordiek
Guest
 
Posts: n/a
TreeView in SharePoint WebPart

Hi,

I want to create a WebPart, that shows a TreeView. So i created a class that
derives from WebPart created an TreeView control therein and added it to the
Controls collection. I also added some root and child nodes. The TreeView
shows up in the WebPart allright and if I set the Expanded property to true
ot shows expanded. So far so good.

The only problem is, the expand / collaps buttons don't work. It shows
"error on the page" in the status bar, and in the details of the error it
says "childNode.1 is null or not an object"

Does anyone know, what's wrong and how to fox the problem?

Thanks
Christof

  Reply With Quote
Reply

Thread Tools
Display Modes




New To Site? Need Help?

All times are GMT +5.5. The time now is 07:24 PM.


vBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO
Copyright © 2005-2009, TechTalkz.com. All Rights Reserved - Privacy Policy
Valid XHTML 1.0 Transitional