PDA

Click to See Complete Forum and Search --> : problem with treeview on webpage


gu_falcon
Feb 1st, 2001, 09:58 AM
I have to program an application on the web. I use ASP and java-VB scripts. And I use the msTreeView - component to show my data to the users.
Thats great (I make a new Object to insert the treeview into my page) and it works!!!

Now I have to import and show various pictures in my treeview.
I cannot switch to a pure ASP treeview because I have to use RIGHTCLICKS to manage the view (e.g. enter new folders or files) fast and without troubles for the user. But I cannot import pictures (i have registered a listimage-component but it wont load any pictures with <loadPicture>, see).

I hope you see my problem here.

I'm happy with any answer since I can't find any pages on the net that refer to inserting a my-activex on a site and I don't know the limitations of VB-Script (treeview.visible = true or HitTest (x,y) don't work either)

thx in advance

desperate

gu_falcon
Feb 3rd, 2001, 07:01 AM
I searched the web (I think the whole ;-) and I found a few interesting (and free) solutions.

But none of them can catch a right-click and deliver the clicked tree element since they all build the tree with standard-links.

maybe you know one that has this capability.

thx

msdnexpert
Feb 3rd, 2001, 10:34 PM
Dear gufalcon,
Well I guess there are no components that trap a right mouse click and deliver the clicked element based on the x,y coordinates. I think a change in your design should solve your problem. Why don't you use links to catch the clicked element. On clicking a link you can either select that tree link or perform your operations such as generating a sub-folder in the tree. Kindly elaborate the application or hierarchy for which you are using a tree view. Maybe i can come up with a new solution.