Click here to Skip to main content
15,917,795 members
Home / Discussions / C#
   

C#

 
Generalgetting html stored in xml using XmlTextReader() Pin
HudsonKane22-Dec-04 8:23
HudsonKane22-Dec-04 8:23 
GeneralPassing data from ASPX to ASCX Pin
Tony Nero22-Dec-04 8:22
Tony Nero22-Dec-04 8:22 
GeneralRe: Passing data from ASPX to ASCX Pin
Heath Stewart22-Dec-04 11:52
protectorHeath Stewart22-Dec-04 11:52 
Generalupdate dataadapter fails on duplicate identity column key Pin
JeromeKJerome22-Dec-04 6:51
JeromeKJerome22-Dec-04 6:51 
GeneralRe: update dataadapter fails on duplicate identity column key Pin
Heath Stewart22-Dec-04 11:55
protectorHeath Stewart22-Dec-04 11:55 
GeneralRe: update dataadapter fails on duplicate identity column key Pin
JeromeKJerome25-Dec-04 15:20
JeromeKJerome25-Dec-04 15:20 
GeneralRe: update dataadapter fails on duplicate identity column key Pin
Heath Stewart27-Dec-04 10:25
protectorHeath Stewart27-Dec-04 10:25 
GeneralTreeView and Context Menu Pin
MarkMokris22-Dec-04 5:12
MarkMokris22-Dec-04 5:12 
I have a TreeView with nodes at only two levels. I want to add a ContextMenu and change the contents of the context menu depending on the node that is right-clicked. I am using the Popup event to change the content of the context menu as is common practice.

The problem is that the instant the user right-clicks a node, the node is highlighted, but in reality does not becomes the selected node. In fact, TreeView.SelectedNode contains a reference to whatever the previously selected node is. This is very confusing to the user, because it sure looks like the node he has right-clicked has becomes selected. However, programatically I cannot determine (thru TreeView.SelectedNode) which node was right-clicked.

Has anyone run into this? Any work arounds?

Thanks!

Mark Mokris
GeneralRe: TreeView and Context Menu Pin
Guinness4Strength22-Dec-04 5:25
Guinness4Strength22-Dec-04 5:25 
GeneralRe: TreeView and Context Menu Pin
MarkMokris22-Dec-04 5:42
MarkMokris22-Dec-04 5:42 
Generalregistry policy settings refresh Pin
Pyro Joe22-Dec-04 4:54
Pyro Joe22-Dec-04 4:54 
GeneralRe: registry policy settings refresh Pin
Guinness4Strength22-Dec-04 5:21
Guinness4Strength22-Dec-04 5:21 
GeneralRe: registry policy settings refresh Pin
Pyro Joe22-Dec-04 5:40
Pyro Joe22-Dec-04 5:40 
GeneralRe: registry policy settings refresh Pin
Dave Kreskowiak22-Dec-04 6:39
mveDave Kreskowiak22-Dec-04 6:39 
GeneralRe: registry policy settings refresh Pin
Guinness4Strength22-Dec-04 6:39
Guinness4Strength22-Dec-04 6:39 
GeneralExcel Automation Questions Pin
Guinness4Strength22-Dec-04 4:18
Guinness4Strength22-Dec-04 4:18 
Questionocx or socketcommunication? Pin
stefan houtz22-Dec-04 4:08
stefan houtz22-Dec-04 4:08 
Generaldynamic assigning of class properties Pin
TyronX22-Dec-04 2:51
TyronX22-Dec-04 2:51 
GeneralRe: dynamic assigning of class properties Pin
J4amieC22-Dec-04 3:48
J4amieC22-Dec-04 3:48 
GeneralRe: dynamic assigning of class properties Pin
Skynyrd22-Dec-04 3:48
Skynyrd22-Dec-04 3:48 
GeneralRe: dynamic assigning of class properties Pin
TyronX22-Dec-04 10:43
TyronX22-Dec-04 10:43 
Generalget row number after datagrid sort Pin
jagberg2322-Dec-04 2:15
jagberg2322-Dec-04 2:15 
GeneralRe: get row number after datagrid sort Pin
aplope23-Dec-04 5:44
aplope23-Dec-04 5:44 
GeneralRe: get row number after datagrid sort Pin
jagberg2324-Dec-04 20:18
jagberg2324-Dec-04 20:18 
GeneralDesigning a data decisional application based-on grids and graphics Pin
guim722-Dec-04 2:09
guim722-Dec-04 2:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.