Hi,
In my project, I want to open a screen if the item is clicked from explorer bar. so i rised "ItemClick " event for that. I clicked the explorer bar item, but it is not firing. While change the Style from toolbox to other at that time it is rising. Is there any way to rise the event Even if the style is toolbox.
Can you give me the feedback for this?
No, there is no way to make the event fire for the toolbox style. You could handle the MouseDown or MouseClick event and use the control's ItemFromPoint method to get the item that was clicked, and then call the same code you are calling from the ItemClick handler for that item.
Thanks Brian. I fired MouseClick event to achive my requirement. This is my sample code
private void ultraExplorerBar1_MouseClick(object sender, MouseEventArgs e) { UltraExplorerBarItem uExpItem = ultraExplorerBar1.ItemFromPoint(e.Location); if (uExpItem == null) return; MessageBox.Show("Load Item clicked - " + uExpItem.Text); }
Thanks and Regards,
S.Santhanamahalingam.