This is urgent since I can't do anything else on my WPF app until this gets figured out!
I was trying to add a RadCartesianChart on an existing WPF project and I was having the following error message on the designer view(even though it would compile and run normally):
[System.InvalidOperationException
Sequence contains more than one element
at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source)
at Microsoft.VisualStudio.DesignTools.XamlDesigner.Metadata.MockTypes.MockTypeGenerator.DefineGenericParameters(Type type, MockTypeDefinition mockType)
at Microsoft.VisualStudio.DesignTools.XamlDesigner.Metadata.MockTypes.MockTypeGenerator.PopulateMockType(Type type, MockTypeDefinition mockType)
at Microsoft.VisualStudio.DesignTools.XamlDesigner.Metadata.MockTypes.MockTypeGenerator.DefineType(Type type)
at Microsoft.VisualStudio.DesignTools.XamlDesigner.Metadata.MockTypes.MockTypeGenerator.MockGenericType(Type type)
at Microsoft.VisualStudio.DesignTools.XamlDesigner.Metadata.MockTypes.MockTypeGenerator.DefineType(Type type)
at Microsoft.VisualStudio.DesignTools.XamlDesigner.Metadata.MockTypes.MockTypeGenerator.DefineProperty(TypeDefinition typeDefinition, PropertyInfo propertyInfo)....]
I tried a bunch of different things and the error remained, so I decided to create a new WPF project and paste some code from the RadChartView - Getting Started topic on http://docs.telerik.com/ and then I got
[System.NullReferenceException
Object reference not set to an instance of an object.
at Microsoft.VisualStudio.DesignTools.XamlDesigner.Metadata.MockTypes.MockTypeDefinition.ImplementAbstractEvent(EventDefinition eventDefinition, Boolean shouldOverride, Action`3 emitAddMethodBody, Action`3 emitRemoveMethodBody)
at Microsoft.VisualStudio.DesignTools.XamlDesigner.Metadata.MockTypes.InterfaceEmitterFactory.DefaultInterfaceEmitter.ImplementEvent(EventDefinition eventDefinition, Boolean shouldOverride)...]
I don't know if it helps but I attached an image of what the error looks like on the second case.

Hi,
I use INotifyLocationChanged to raise event when items of a VisualizationLayer move and it throws an exception in some particular case. I've joined a sample project that demonstrate this particular case. I'm I doing something wrong or this is a bug ?
Thank you,
Etienne

Hi,
I've implemented the ScheduleView via my own models implementing the IAppointment interface.
In the normal Week view everything works fine, but as soon as I add a grouped view to the ScheduleView no appointments are displayed (although they are correctly loaded in the viewmodel).
The XAML I add:
<telerik:RadScheduleView.GroupDescriptionsSource>
<telerik:GroupDescriptionCollection>
<telerik:ResourceGroupDescription ResourceType="Mitarbeiter"/>
<telerik:DateGroupDescription />
</telerik:GroupDescriptionCollection>
</telerik:RadScheduleView.GroupDescriptionsSource>
Any suggestion what I'm doing wrong?
thx​
I'm new to this so I'm hoping to find some direction. I have a plot on in a RadCartesianChart. I want to be able to right-click and capture the location of the mouse at that place. Before we had a double click mouse event and were able to do this:
1.private void ChartSelectionBehavior_SelectionChanged(object sender, Telerik.Windows.Controls.ChartView.ChartSelectionChangedEventArgs e)2.{ 3. if (e.AddedPoints.Count > 0)4. {5. ViewModel.NotePoint = e.AddedPoints[0].DataItem as GraphPlots;6. }7.}​Now I have this:
private void standardGraph_MouseRightButtonUp(object sender, System.Windows.Input.MouseButtonEventArgs e){ //I want to set the NotePoint of the View Model to the location //of the right-mouse click here plotContextMenu.Visibility = System.Windows.Visibility.Visible;}​I can get the location of the MouseButtonEvent, but once I do I'm not sure how to set it as a GraphPlot.
Here's my XML:
01.<telerik:RadCartesianChart Visibility="{Binding StdGraphVisibility}"02. x:Name="standardGraph"03. Height="500"04. Width="1000"05. MouseRightButtonDown="mouseRightButtonDown"06. MouseRightButtonUp="standardGraph_MouseRightButtonUp">07. 08. <telerik:RadContextMenu.ContextMenu>09. 10. <telerik:RadContextMenu x:Name="plotContextMenu"11. Visibility="Hidden">12. 13. <telerik:RadMenuItem Header="Add note"14. x:Name="addNoteMenuItem"15. Click="addNoteMenuItem_Click" />16. 17. </telerik:RadContextMenu>18. </telerik:RadContextMenu.ContextMenu>19. 20. <telerik:RadCartesianChart.Behaviors>21. 22. <telerik:ChartSelectionBehavior DataPointSelectionMode="Single" 23. SelectionChanged="ChartSelectionBehavior_SelectionChanged"/>24. 25. </telerik:RadCartesianChart.Behaviors>26. 27. <telerik:RadCartesianChart.HorizontalAxis>28. </telerik:RadCartesianChart.HorizontalAxis>29. 30. <telerik:RadCartesianChart.VerticalAxis> 31. </telerik:RadCartesianChart.VerticalAxis>32. 33. <telerik:RadCartesianChart.Grid>34. 35. <chartView:CartesianChartGrid MajorLinesVisibility="Y" StripLinesVisibility="Y" />36. 37. </telerik:RadCartesianChart.Grid>38. 39. <telerik:RadCartesianChart.Series>40. <telerik:LineSeries Stroke="Orange"41. CategoryBinding="Category"42. ValueBinding="Value"43. ItemsSource="{Binding GraphValue}">44. </telerik:LineSeries>45. 46. <telerik:PointSeries CategoryBinding="Category"47. ValueBinding="Value"48. ItemsSource="{Binding Notes}">49. </telerik:PointSeries>50. </telerik:RadCartesianChart.Series>51.</telerik:RadCartesianChart>We have a existing project that uses some older telerik libraries.
This application uses the RadRibbonView inside of an ElementHost control. It works great with the older telerik libraries.
I upgraded to the latest 2015 Q3 binaries and I am having problems.
The ribbon no longer displays in the element host.
I did some sanity checks by putting other telerik components into the element host, and they display fine.
Attached is a simple project that reproduces the issue.
Basically it creates a usercontrol.
Adds a simple ribbonview
Adds this ribbon view to a win forms control via element host.
Link to the project:
https://goo.gl/vJv5BG
Hey, I'm doing automated UI testing on a WPF application and we want to test exporting a table into multiple formats. The issue I'm having is that I can't seem to change the "Save as type" drop down menu in the save dialog. I'm using this script to save the file right now:
SaveAsDialog saveDlg = SaveAsDialog.CreateSaveAsDialog(Manager.ActiveApplication, DialogButton.SAVE, @"C:\test " + date);
Manager.DialogMonitor.AddDialog(saveDlg);
Manager.DialogMonitor.Start();
// Click export button script
saveDlg.WaitUntilHandled(30000);
Manager.DialogMonitor.Stop();​
I use RadCarousel to show photograph of persons in the HR module. If the user changes a person's photograph, how can I update only this single image in the RadCarousel, without reread all pictures? I use DataTemplate for the CarouselItemTemplate, a short video about it: http://www.youtube.com/watch?v=b3DCjnU-CyU .
I use PowerBuilder 12.1 .NET, so I can use only very simple things, I can’t define e.g. event handler. After I started to use this DataTemplate, the Reflection has disappeared, how can I start it again?
Thank you very much!
Péter Tóth


I have noticed that when using Intersection PropertySetMode that property change notifications from Objects in the List of items are not used by the property grid. Is this a known limitation or a bug?
I am using version 2015.2.728.
PropertyGrid.PropertySetMode = PropertySetOperation.Intersection;
PropertyGrid.Item = new List<Object> { myObject1, myObject2 };
// Property change notifications from myObject1 and myObject2 do cause the property grid values to update.