I am trying to place a label beside a tab control like the image(sample) below.
I placed the label but the label goes behind the tab control. These are the methods i tried to bring the control front but it is not getting displayed.
none worked
this.labelControl2.BringToFront();
then i tried to invalidate for a repaint
this.labelControl2.Invalidate();
I also tried to set the child index so that the label is the first control and will be displayed above all control like this
Parent.Controls[0].Controls[0].Controls[0].Controls.SetChildIndex(labelControl2, 0);A click on a hyperlink in one of the tab should invoke the label and display the name of the link on the label.
That's my requirement but i couldn't get the label displayed.
even tried to repaint the label manually.I am using dev express tabControl just an fyi.












