VS2003, C#.
I have a user control that has a TreeView.
Depending on user role (rights) this TreeView can be either visible or
invisible.
After 3 hours of trying to find out why this control does not work as
intended I discovered that when the TreeView is invisible changing
SelectedNode does not fire AfterSelect event.
Now some of you will try to tell me that this is quite logical -
'Control nor visible so why should bother with its events'. For those
people I have a news - TextBox's TextChanged will fire always.
So much for M$ logic.
This is shocking and this is crap and my blood is boiling.
Give me a gun!!!
MH
PS. This post is for information only. Don't try to tell me that I have
to find a workaround.
VJ - 13 Mar 2007 16:14 GMT
So why does a listbox's selectedIndex change fire, when selecting a selected
Item?
Its just a normal day at the office :-)
VJ
> VS2003, C#.
> I have a user control that has a TreeView.
[quoted text clipped - 16 lines]
> PS. This post is for information only. Don't try to tell me that I have
> to find a workaround.
Marius Horak - 14 Mar 2007 15:40 GMT
> So why does a listbox's selectedIndex change fire, when selecting a
> selected Item?
Oversight by M$?
MH