Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Rendering treeview class as webpart

  Asked By: Robin    Date: Oct 13    Category: Sharepoint    Views: 1188

I would like to use treeview class and render it as a webpart. Does anybody know
any sample code for this? There are a lot of user control sample codes like this
one:
msdn2.microsoft.com/.../...bcontrols.treeview.aspx
but I haven't seen any sample to render a treeview as class on a page.

Share: 

 

2 Answers Found

 
Answer #1    Answered By: Francisco Simpson     Answered On: Oct 13

I show how to render  a simple TreeView that represents the hierarchy of sites in
the currently Site Collection in my SharePoint developer class. However, it
isn't really any different than using the TreeView in any other setting (e.g.
User Control, Server Control, ASP.NET page). There are tons of examples of how
to render the TreeView class:
http://tinyurl.com/3dh2u8

 
Answer #2    Answered By: Saul Cobb     Answered On: Oct 13

Thanks for your reply. I can' tget into http://tinyurl. com/3dh2u8 . I
appreciate if you give me one example or direct me to somewhere. All examples I
have seen is how to use treeview  user control. I am ready to buy those 10-20
lines of the code!

 
Didn't find what you were looking for? Find more on Rendering treeview class as webpart Or get search suggestion and latest updates.




Tagged: