This is a migrated thread and some comments may be shown as answers.

How to add radpanegroup to a rad split container?

1 Answer 131 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Radhakrishnan
Top achievements
Rank 1
Radhakrishnan asked on 25 Sep 2012, 12:39 PM
hello all, I use the follwing code to create a radsplitcontainer dynamically and it works perfectly fine.

However when I try to add a pane group (commeneted code) I couldn't even see the split container showing to the right side of the window

Any suggestions, please?

Telerik.Windows.Controls.RadSplitContainer RightSplit =

 

new Telerik.Windows.Controls.RadSplitContainer();

RightSplit.InitialPosition = Telerik.Windows.Controls.Docking.DockState.DockedRight;

RightSplit.BorderBrush = Brushes.DarkSlateGray;

RightSplit.BorderThickness =

 

new System.Windows.Thickness(3);

RightSplit.Width =

 

100;

RightSplit.IsEnabled =

 

true;

RightSplit.Visibility = Visibility.Visible;

MainContainer.Items.Add(RightSplit);

 

//Telerik.Windows.Controls.RadPaneGroup thispaneGroup = new Telerik.Windows.Controls.RadPaneGroup();

 

//thispaneGroup.Width = 100;

 

//RightSplit.Items.Add(thispaneGroup);


Regards
RK

1 Answer, 1 is accepted

Sort by
0
Georgi
Telerik team
answered on 28 Sep 2012, 12:12 PM
Hi Radhakrishnan,

By design it is not intended for the RadPaneGroup to be used without content so they are not shown, you can try adding a RadPane inside it and all of them should be visualized correctly.  In case this doesn't suits your needs with more details about the functionality that you are trying to achieve we might be able to suggest a different approach.

Greetings,
Georgi
the Telerik team

Time to cast your vote for Telerik! Tell DevPro Connections and Windows IT Pro why Telerik is your choice. Telerik is nominated in a total of 25 categories.

Tags
Docking
Asked by
Radhakrishnan
Top achievements
Rank 1
Answers by
Georgi
Telerik team
Share this question
or