Hi,
I am having problems with RadCombobox inside a RadWindow. The dropdownlist goes behind the window. I am using the 11/10/2010 release of the wpf controls.
Here is the code.
Window1.xaml
<Window
x:Class="Window1" x:Name="Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/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"
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" Width="300" Height="200" WindowStartupLocation="CenterScreen">
<Grid>
<Button Name="btn" Content="Press the Button" Margin="30"/>
</Grid>
</Window>
Window.xaml.vb
Imports Telerik.Windows.Controls
Class Window1
Public Sub New()
' This call is required by the Windows Form Designer.
InitializeComponent()
End Sub
Private Sub btn_Click(ByVal sender As Object, ByVal e As System.Windows.RoutedEventArgs) Handles btn.Click
Dim wnd As New Window2
wnd.ShowDialog()
End Sub
End Class
Window2.xaml
<telerik:RadWindow
x:Class="Window2" x:Name="Window2"
xmlns="http://schemas.microsoft.com/winfx/2006/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"
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" WindowStartupLocation="CenterOwner">
<Grid>
<StackPanel>
<telerik:RadComboBox Name="com1"/>
<telerik:RadComboBox Name="com2"/>
<telerik:RadComboBox Name="com3"/>
</StackPanel>
</Grid>
</telerik:RadWindow>
Window2.xaml.vb
Class Window2
Public Sub New()
' This call is required by the Windows Form Designer.
InitializeComponent()
' Add any initialization after the InitializeComponent() call.
com1.Items.Add("pppp")
com1.Items.Add("QQQQ")
com1.Items.Add("TTTTT")
com1.SelectedIndex = 0
com2.Items.Add("aaaaa")
com2.Items.Add("bbbbb")
com2.Items.Add("ccccc")
com2.SelectedIndex = 0
com3.Items.Add("11111")
com3.Items.Add("22222")
com3.Items.Add("33333")
com3.SelectedIndex = 0
End Sub
End Class
Thanks,
I am having problems with RadCombobox inside a RadWindow. The dropdownlist goes behind the window. I am using the 11/10/2010 release of the wpf controls.
Here is the code.
Window1.xaml
<Window
x:Class="Window1" x:Name="Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/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"
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" Width="300" Height="200" WindowStartupLocation="CenterScreen">
<Grid>
<Button Name="btn" Content="Press the Button" Margin="30"/>
</Grid>
</Window>
Window.xaml.vb
Imports Telerik.Windows.Controls
Class Window1
Public Sub New()
' This call is required by the Windows Form Designer.
InitializeComponent()
End Sub
Private Sub btn_Click(ByVal sender As Object, ByVal e As System.Windows.RoutedEventArgs) Handles btn.Click
Dim wnd As New Window2
wnd.ShowDialog()
End Sub
End Class
Window2.xaml
<telerik:RadWindow
x:Class="Window2" x:Name="Window2"
xmlns="http://schemas.microsoft.com/winfx/2006/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"
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" WindowStartupLocation="CenterOwner">
<Grid>
<StackPanel>
<telerik:RadComboBox Name="com1"/>
<telerik:RadComboBox Name="com2"/>
<telerik:RadComboBox Name="com3"/>
</StackPanel>
</Grid>
</telerik:RadWindow>
Window2.xaml.vb
Class Window2
Public Sub New()
' This call is required by the Windows Form Designer.
InitializeComponent()
' Add any initialization after the InitializeComponent() call.
com1.Items.Add("pppp")
com1.Items.Add("QQQQ")
com1.Items.Add("TTTTT")
com1.SelectedIndex = 0
com2.Items.Add("aaaaa")
com2.Items.Add("bbbbb")
com2.Items.Add("ccccc")
com2.SelectedIndex = 0
com3.Items.Add("11111")
com3.Items.Add("22222")
com3.Items.Add("33333")
com3.SelectedIndex = 0
End Sub
End Class
Thanks,