When adding the following TimeBar to my app, I get Binding errors when scrolling through the data. I have removed the sparkline within the TimeBar and I still get the binding errors.
<telerik:RadTimeBar PeriodStart="1-Jan-2010 12:00:00 AM" PeriodEnd="31-Dec-2011 11:59:59 PM"
VisiblePeriodStart="11-Nov-2010 12:00:00 AM" VisiblePeriodEnd="14-March-2011 11:59:59 PM"
SelectionStart="1-Jan-2011 12:00:00 AM" SelectionEnd="28-Feb-2011 11:59:59 PM">
<telerik:RadTimeBar.Intervals>
<telerik:YearInterval />
<telerik:MonthInterval />
<telerik:WeekInterval />
<telerik:DayInterval />
</telerik:RadTimeBar.Intervals>
<!--<telerik:RadLinearSparkline ItemsSource="{Binding LinearData}" XValuePath="Date" YValuePath="Value" />-->
</telerik:RadTimeBar>
Here is what I get in the output window:
<telerik:RadTimeBar PeriodStart="1-Jan-2010 12:00:00 AM" PeriodEnd="31-Dec-2011 11:59:59 PM"
VisiblePeriodStart="11-Nov-2010 12:00:00 AM" VisiblePeriodEnd="14-March-2011 11:59:59 PM"
SelectionStart="1-Jan-2011 12:00:00 AM" SelectionEnd="28-Feb-2011 11:59:59 PM">
<telerik:RadTimeBar.Intervals>
<telerik:YearInterval />
<telerik:MonthInterval />
<telerik:WeekInterval />
<telerik:DayInterval />
</telerik:RadTimeBar.Intervals>
<!--<telerik:RadLinearSparkline ItemsSource="{Binding LinearData}" XValuePath="Date" YValuePath="Value" />-->
</telerik:RadTimeBar>
Here is what I get in the output window:
System.Windows.Data Error: BindingExpression path error: 'Label' property not found on 'MyApp.ViewModels.DashboardPaneViewModel' 'MyApp.ViewModels.DashboardPaneViewModel' (HashCode=53251301). BindingExpression: Path='Label' DataItem='MyApp.ViewModels.DashboardPaneViewModel' (HashCode=53251301); target element is 'System.Windows.Controls.TextBlock' (Name=''); target property is 'Text' (type 'System.String')..
As you can see, the XAML is cut and past from your online documentation found here:
Can you tell me what is causing the binding to fail when I have nothing bound to this control?
Thanks,