Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TreeView w/ ContextMenu...
Message
General information
Forum:
ASP.NET
Category:
Menus
Title:
TreeView w/ ContextMenu...
Environment versions
Environment:
VB.NET 1.1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01101212
Message ID:
01101212
Views:
50
I have a TreeView that uses a ContextMenu. What I need to do it Enable/Disable certain items in the ContextMenu based on what is selected in teh TreeView. Problem is, that I am finding it difficult to find where the proper place is to place my code. When the user Right-Clicks, the ContectMenu pops up before my code to Enable/Disable its items can run. I tried TreeView_AfterSelect, TreeView_BeforeSelect, TreeView_Click, TreeView_MouseUp and ContectMenu_PopUp.
________________________
Ben Santiago, MCP & A+
Programmer Analyst (SQL, FoxPro, VB, VB.Net, Java, HTML, ASP, JSP, VBS)
Eastern Suffolk BOCES - Student Data Services


Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
-Rich Cook
Next
Reply
Map
View

Click here to load this message in the networking platform