Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > ASP.Net Treeview in VS.Net 2003

Reply
Thread Tools

ASP.Net Treeview in VS.Net 2003

 
 
Shailendra Batham
Guest
Posts: n/a
 
      12-03-2004
Hey guys
I am using the IE Web controls treeview control.

I popuplate the treeview with XML and it looks fine........... my question
is how can I add a right click popup menu to the treeview control so it
shows when a user right clicks a node in the tree.

Does any1 have any tips and tricks to enhance the treeview control.

thanks,
shailendra


 
Reply With Quote
 
 
 
 
Nick Stansbury
Guest
Posts: n/a
 
      12-06-2004
Shailendra,

I don't know a way of doing this with the IE Webcontrol treeview. If you
think the problem though it's actually quite a complex one. You'd have to
use a third party menu system of some sort to implement a context-sensitive
right-click menu. You could try and do it yourself - but I'd not much fancy
it. In my opinion the best option on the market is probably Telerik's tree
view control(www.telerik.com). They've got this right-click context menu
functionality implemented in a really neat way - either XML populated or at
run time with a neat API.
Have a look at :
http://www.telerik.com/r.a.d.treevie...ty/ContextMenu
to see what I mean. They offer a 30-day trial which is worth having a look
at. Only trouble is you'll start by trying out just the one control and
probably set your self up to buy about eight of them....

Your other option might be to try and extend the SKM menu control in some
way - and bind it to the tree view. It is free - thanks to Scott Mitchel I
think (www.skmmenu.com - but you'd have quite a headache with trying to get
the binding to nodes right.


Nick






"Shailendra Batham" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Hey guys
> I am using the IE Web controls treeview control.
>
> I popuplate the treeview with XML and it looks fine........... my question
> is how can I add a right click popup menu to the treeview control so it
> shows when a user right clicks a node in the tree.
>
> Does any1 have any tips and tricks to enhance the treeview control.
>
> thanks,
> shailendra
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to access the Page from a TreeNode (treeview 's element) : addinga context menu to a treeview abargaddon ASP .Net Building Controls 0 01-17-2008 11:05 AM
Microsoft Treeview vs System Treeview stepkurt ASP .Net Web Controls 1 09-02-2007 11:32 AM
ASP.NET 2.0 TreeView - Programatically Selecting A TreeView Node =?Utf-8?B?VHltYm93?= ASP .Net 2 01-10-2006 03:51 AM
Issue with a custom TreeView derived from the TreeView control Ionutz ASP .Net Web Controls 2 10-23-2005 03:23 PM
TreeView not rendering nodes? Cacheing of a TreeView Per Salmi ASP .Net Web Controls 1 10-15-2003 01:15 PM



Advertisments