or
Hi Guys,
When I drag the nodes in the treeview, it displays "Infinity is not a valid value for the property Width". What caused this error?
Thanks,
| <Grid> |
| <telerik:RadDocking Name="radDocking1" > |
| <telerik:RadSplitContainer Name="LeftContainer" InitialPosition="DockedLeft" > |
| <telerik:RadPaneGroup> |
| <telerik:RadPane Header="Task List"> |
| </telerik:RadPane> |
| </telerik:RadPaneGroup> |
| </telerik:RadSplitContainer> |
| <telerik:RadSplitContainer Name="RightContainer" InitialPosition="DockedRight"> |
| <telerik:RadPaneGroup> |
| <telerik:RadPane Header="Map"> |
| </telerik:RadPane> |
| </telerik:RadPaneGroup> |
| </telerik:RadSplitContainer> |
| </telerik:RadDocking> |
| </Grid> |
| public Window1() |
| { |
| InitializeComponent(); |
| RadTileView1.ItemsSource = new ObservableCollection<Test> { |
| new Test() { Description = "11" }, |
| new Test() { Description = "22" } , |
| new Test() { Description = "33" } , |
| new Test() { Description = "44" } , |
| new Test() { Description = "55" } , |
| new Test() { Description = "66" } |
| }; |
| } |
| private void button1_Click(object sender, RoutedEventArgs e) |
| { |
| ObservableCollection<Test> col = (ObservableCollection<Test>)RadTileView1.ItemsSource; |
| col.Clear(); |
| col.Add(new Test() { Description = "aa" }); |
| col.Add(new Test() { Description = "bb" }); |
| col.Add(new Test() { Description = "cc" }); |
| col.Add(new Test() { Description = "dd" }); |
| } |

| <Window x:Class="TelerikTestProject.Window1" |
| xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
| xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
| Title="Window1" |
| xmlns:shared="http://schemas.actiprosoftware.com/winfx/xaml/shared" |
| xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" |
| > |
| <Grid> |
| <telerik:RadGridView AutoGenerateColumns="False" ItemsSource="{Binding PatientDiagnoses}"> |
| <telerik:RadGridView.Columns> |
| <telerik:GridViewDataColumn Width="*" Header="Code" DataMemberBinding="{Binding Path=Code}" /> |
| </telerik:RadGridView.Columns> |
| </telerik:RadGridView> |
| </Grid> |
| </Window> |


