I have a web part that is constructed like this:
Dim stackPanel As New panel 'Telerik.Web.UI.RadPanelBar
stackPanel.ID =
"Panel1"
stackPanel.EnableAjaxSkinRendering =
True
stackPanel.PersistStateInCookie =
True
Me.Controls.Add(stackPanel)
m_RadTreeFolderHierarchy.ID =
"MJNavTree" ' this name is referenced in client side javascript
stackPanel.Controls.Add(m_RadTreeFolderHierarchy)' telerik tree control
stackPanel.Controls.Add(_statusText)
' add label to panel
stackPanel.Controls.Add(_debuggingTxt)
' add label to panel
The problem is that by definition a panel control will flow each control based on the width of the web part. I want each control to be stacked vertically but can't seem to control this.
I may have to insert multiple panel controls to make this work.