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

RadPane in VS2010

7 Answers 51 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Michael Blanchet
Top achievements
Rank 1
Michael Blanchet asked on 23 Aug 2010, 09:11 PM
When editing the XAML in VS 2010 - the RadPane displays as a blank rectangle with no controls displayed in the visual editor. What is the problem and how can I use the visual editor with RadPane?

7 Answers, 1 is accepted

Sort by
0
George
Telerik team
answered on 25 Aug 2010, 01:11 PM
Hello Michael,

Thank you for contacting us.

We will be happy to help you, but we need more details about the problem.
Could you please send us a screenshot or a demo to illustrate the described behavior?


Looking forward to your reply.

Regards,
George
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Michael Blanchet
Top achievements
Rank 1
answered on 25 Aug 2010, 02:54 PM
I have a large number of RadPanes which are loaded into a RadDocking Host. They all exhibit the same behavior of displaying a blank screen. It appears that the RadPane is displayed on the top layer? I have copied the xaml below (it would not attach as a file?) and have attached a screen shot of the RadPane in the designer. Expression Blend shows the same blank screen.

<telerik:RadPane x:Class="OMTestHarness.LogonPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    Header="Logon" mc:Ignorable="d" d:DesignHeight="232" d:DesignWidth="348" Name="Logon" CanUserClose="False" >
  <Canvas Margin="0,0,0,0">
    <Label Margin="0,20,0,0" Height="20" Width="98" Content="User Name" Padding="0" HorizontalContentAlignment="Right" />
    <TextBox Margin="102,20,0,0" Height="20" Width="120" Name="UserName" LostFocus="UserNameChk" />
    <Label Margin="0,50,0,0" Height="20" Width="98" Content="Password" Padding="0" HorizontalContentAlignment="Right" />
    <TextBox Margin="102,50,0,0" Height="20" Width="120" Name="Password" />
    <Label Margin="0,80,0,0" Height="20" Width="98" Content="Password2" Padding="0" HorizontalContentAlignment="Right" />
    <TextBox Margin="102,80,0,0" Height="20" Width="120" Name="Password2" />
    <Label Margin="0,110,0,0" Height="20" Width="98" Content="Application" Padding="0" HorizontalContentAlignment="Right" />
    <telerik:RadComboBox Margin="102,110,0,0" Height="20" Width="120" DisplayMemberPath="Key" SelectedValuePath="Value" Name="ApplicationID" ToolTip="The Application to Logon to" TabIndex="20">
    </telerik:RadComboBox>
    <Label Margin="0,140,0,0" Height="20" Width="98" Content="AppEntity ID" Padding="0" HorizontalContentAlignment="Right" />
    <TextBox Margin="102,140,0,0" Height="20" Width="100" Name="AppEntity" />
    <Button Margin="80,170,0,0" Height="20" Width="100" Name="LogonBtn" ToolTip="Logon using the parameters above" Click="Login" IsDefault="True">
      <StackPanel FlowDirection="LeftToRight">
        <Image Margin="0,0,0,0" Source="/OMTestHarness;component/Images/lock.png" Width="19" Height="19" HorizontalAlignment="Center" VerticalAlignment="Center" />
        <Label Margin="20,0,0,0">Logon</Label>
      </StackPanel>
    </Button>
    <Button Margin="80,170,0,0" Height="20" Width="100" Name="LogOffBtn" Content="Log Off" ToolTip="LogOff the OM Session" Visibility="Hidden" Click="LogOff"/>
  </Canvas>
</telerik:RadPane>

 
0
George
Telerik team
answered on 27 Aug 2010, 04:35 PM
Hello Michael Blanchet,

RadPanes represents only the small TabItems grouped in the RadPaneGroup. For more information you could refer to our online documentation - http://www.telerik.com/help/silverlight/raddocking-visual-structure.html

Could you explain why do you need to customize a RadPane in the code you provide?

Greetings,
George
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Michael Blanchet
Top achievements
Rank 1
answered on 27 Aug 2010, 05:15 PM
Yes, I know what RadPanes are and how to use them.

In my application, I display a RadPane on request in a RadDocking/RadPaneGroup. It is a very flexible model and works well. 

If I create a WPF Page object, I can edit it in the viewer. I want to be able to create a RadPane the same way. I need to add fields or modify layout and there should be no reason I cannot edit it in VS 2010 or Expression Blend? Currently, I have to replace RadPane with Page (and make a couple of other minor changes) in order to edit it.

It appears that the RadPane gets presented over top of the other controls, is it possible to 'push' it to the bottom layer?
0
Michael Blanchet
Top achievements
Rank 1
answered on 31 Aug 2010, 10:29 PM
Is someone going to reply to this? This is a significant inconvenience. I would think that other developers are experiencing the same problem?
0
George
Telerik team
answered on 01 Sep 2010, 04:28 PM
Hi Michael,

Editing the RadPane in this way is not supported scenario. If you want to customize it, I would suggest you to refer to our online documentation here - http://www.telerik.com/help/wpf/raddocking-styling-the-radpane.html

Please do not hesitate to contact us if you require any further information. I will be glad to assist you further.

Sincerely yours,
George
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Rob Conley
Top achievements
Rank 1
answered on 20 Nov 2012, 04:05 PM
It would be great if you guys could support this.

I can't believe there haven't been more requests for this. I'll look around the site a little more.
Tags
Docking
Asked by
Michael Blanchet
Top achievements
Rank 1
Answers by
George
Telerik team
Michael Blanchet
Top achievements
Rank 1
Rob Conley
Top achievements
Rank 1
Share this question
or