Telerik Forums
UI for WPF Forum
1 answer
213 views
Hello,

I'm developing an application using WPF on .NET 4.5/C#.  I have a simple page that contains a RadTimeline.  The control displays just fine in the designer, but when I run the app and navigate to the page, it crashes to desktop with the error:

Managed Debugging Assistant 'BindingFailure' has detected a problem in 'C:\Code\PlanitV2\PlanIt2\bin\Debug\PlanIt2.exe'.
 
Additional information: The assembly with display name 'Telerik.Windows.Controls.DataVisualization' failed to load in the 'Load' binding context of the AppDomain with ID 1. The cause of the failure was: System.IO.FileNotFoundException: Could not load file or assembly 'Telerik.Windows.Controls.DataVisualization, Version=2013.2.724.45, Culture=neutral, PublicKeyToken=5803cfa389c90ce7' or one of its dependencies. The system cannot find the file specified.

I have tried other controls from the DataVisualization .dll and all behave the same way (crash to desktop).

I've verified that the .DLL is actually in the build folder.  I've restarted VS and my system.  I have removed and re-added the references to the appropriate DLLs.  I've run repair on the control suite using the Telerik control panel.  I've uninstalled and reinstalled the control suite. I've removed everything from the WPF page except a single control.

Any ideas?

Thanks!

Matthew
Matt
Top achievements
Rank 1
 answered on 15 Aug 2013
4 answers
259 views
Hi,

with data annoations (DisplayAttribute) it is possible to create custom descriptions for the filtered properties. But unfortunately the DisplayAttribute is sealed. So it is not possible to inherit from this Attribute to implement internationalization from resource files. (I did something equal with the DescriptionAttribute which is not sealed). Is it possible to create custom property descriptions in a different way? Perhaps with ItemPropertyInfo class? At first sight it seems that it is not possible. In constructor of ItemPropertyInfo you can set name, type and descriptor. Name is obviously used for creating FilterDescriptors so the name must represent the real path to the property and could not be a user readable name. The type is the type ;-) And the descriptor is a PropertyInfo instance which contains the real name of the property again. Is there a way to accomplish my request?

Best regards,
Oliver
Dimitrina
Telerik team
 answered on 15 Aug 2013
1 answer
119 views
Hi

I was wondering how to set the content of the header in the ApplicationMenu. I would like to be able to set an icon or even plain text in the area highlighted in red of the following image.

Application-header

I have been looking at the documentation and found nothing. My application has the windows8 theme applied to it.

Thanks a lot

Pete
Pavel R. Pavlov
Telerik team
 answered on 15 Aug 2013
1 answer
228 views
Hi,
I have been adding time values to horizontal axis in milliseconds. As the time exceeds 1000 milliseconds it gets converted to seconds and so on. When time value already exists in the horizontal axis then the graph gets overlap for that time.
For example:- values for 1 millisecond and value for 1000 millisecond(which after conversion becomes 1 second) get overlapped. Similarly, for 1 millisecond and 60000 millisecond(which after conversion becomes 1 minute).
How to avoid these points from getting overlapped and  how can we distinguish them?

 if(TimeValue < 1000)
                            {
                                XAxis.Title = "Time (milliseconds)";
                              _weldDataMapping.Series.DataPoints.Add(new Telerik.Charting.CategoricalDataPoint { Category = TimeValue, Value = val });
                            }
                            else if (TimeValue >= 1000 && TimeValue <= 60000)
                            {
                                XAxis.Title = "Time (seconds)";
TimeValueInSec = Math.Round(TimeValue / 1000, 4);
                               _weldDataMapping.Series.DataPoints.Add(new Telerik.Charting.CategoricalDataPoint { Category = TimeValueInSec , Value = val });
                            }
and so on for the conversion in minute and hours......

I have attached two images which shows value for 990 millisecond and den 1010 millisecond. And value for 1000 millisecond which after conversion has become 1 second overlaps with value of 1 millisecond (shown as a straight line coming back to 1 millisecond).
Please provide the solution as soon as possible.
Thanks.
Ves
Telerik team
 answered on 15 Aug 2013
1 answer
56 views
I have one RadDocking in my UserControl that contains two RadSplitContainers. I am trying to find a way to make it so that the panes from either of the SplitContainers cannot go into the other, but can be moved within their own container (they are also allowed to float).

I had found one solution in the forums, but it didn't really make sense to me. I am looking for a smaller solution with just two SplitContainers and maybe a little explanation as to how it works like that.

Any help is appreciated, thank you.
Vladi
Telerik team
 answered on 15 Aug 2013
1 answer
97 views
Hi,

Is there any way  by which i can order the horizontal axis label in increasing order?
Please reply as soon as possible.

Thanks
Rosko
Telerik team
 answered on 15 Aug 2013
1 answer
108 views
Hi all,

looks like a simple problem, but I can't find a solution :-(  I have a bar chart with several items and a CustomGridLine, showing a limit value. Now I want to fill each item depending on his value. Green, if it is far away from the limit, yellow if near by and red if it is greater. Best solution will be a linear brush to fade the colors. Any hints?
dpl
Top achievements
Rank 1
 answered on 15 Aug 2013
3 answers
229 views
Hello,

we are trying to apply the new lightweight templates in our WPF .NET 4.5 project. We follow the documentation you provide. But it doesnt work.
We dont know where to get the correct themes dll which is referenced in the resource dictionaries

<ResourceDictionary Source="/Telerik.Windows.Themes.Windows8;component/Themes/System.Windows.xaml"/>


Using the self-built assambly from themes.implicit produces following errors (~200):

e.g.: 
Error 95 The name "Windows8Resource" does not exist in the namespace "clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls,Version=2013.2.0724.40,Culture=neutral,PublicKeyToken=5803cfa389c90ce7".

Error 2 The name "Windows8ResourceDictionary" does not exist in the namespace "clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls,Version=2013.2.0724.40,Culture=neutral,PublicKeyToken=5803cfa389c90ce7". 

Error 3 The name "Windows8Colors" does not exist in the namespace "clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls,Version=2013.2.0724.40,Culture=neutral,PublicKeyToken=5803cfa389c90ce7". 

Changing the Telerik dependencies from 4.0 to 4.5 in the themes.implicit project does not work either.

Could you please provide any help in this case.

regards
Marco Gruhl
Vanya Pavlova
Telerik team
 answered on 15 Aug 2013
2 answers
130 views
Hi

I have a need to have many open documents open at the same time.  Also, each pane header may have a long name.  After opening more than about 4 or 5 documents the pane width is reduced.  This leaves the pane header unintelligible.  The typical way this is handled by microsoft and others is to have a dropdown list of panels.  How would I do this with RadDocking.

Thanks
Rich
Richard Harrigan
Top achievements
Rank 1
 answered on 14 Aug 2013
1 answer
170 views
Hi,
I'm trying to use multi-seleciton in PropertyGrid and the following problems occurred:

1. When I set SelectionMode to multi in Xaml and try to switch it to Single mode in code-behind, it doesn't work.
2. When I set NestedPropertiesVisibility="Visible", it worked fine in the single selection mode, but doesn't work in the multi selection mode.
3. Data Annotations set in the Display attriute doesn't work.
3. DataTemplateSelection does not work properly as in the single selection. For example, I get
PropertyType : {Name = "Object" FullName = "System.Object"} System.Type {System.RuntimeType}
for the code below.

public class PropertyGridDataTemplateSelector : DataTemplateSelector
    {
        public override DataTemplate SelectTemplate(object item, DependencyObject container)
        {
            if (item as PropertyDefinition != null && (item as PropertyDefinition).SourceProperty.PropertyType == typeof(Int32))
            {
                return IntegerPropertyDataTemplate;
            }
            return null;
        }

        public DataTemplate IntegerPropertyDataTemplate { get; set; }
    }

Can you get this fixed?
Thanks!

Maya
Telerik team
 answered on 14 Aug 2013
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Expander
Slider
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
Licensing
WebCam
CardView
DataBar
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
VirtualKeyboard
HighlightTextBlock
Security
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?