This question is locked. New answers and comments are not allowed.
I'm running into a problem with the caption of the group has odd alignment when the form loads. I am using the OutlookNavPane style.
I am programmatically expanding and selecting the first group panel group with code like this:
Everything looks fine at first as the caption at the top of the PanelBar is correctly named but it is not centered. Manually clicking the panel group button the text centers. I'm not sure what is causing this, but I'd like it display properly when the form loads.
Has anyone experienced this or have a workaround/fix for this?
I am programmatically expanding and selecting the first group panel group with code like this:
RadPanelBarGroupElement group = pnlMainNav.Items[0] as RadPanelBarGroupElement; |
if (group != null) { |
group.Expanded = true; |
group.Selected = true; |
group.ContentPanel.Controls.Add(new PersonMenuPanel()); |
} |
Everything looks fine at first as the caption at the top of the PanelBar is correctly named but it is not centered. Manually clicking the panel group button the text centers. I'm not sure what is causing this, but I'd like it display properly when the form loads.
Has anyone experienced this or have a workaround/fix for this?