Telerik Forums
UI for WPF Forum
7 answers
2.1K+ views

Hi,

My UI for WPF (2018 R1) used to work very well, but some days ago the design-time components stopped working. All the Rad controls lost their styles in the designer; however in run time they work just fine.

When Visual Studio (2017, v15.8.4) launches, it shows the following messages in the General output channel:

There was an exception when loading the design time assembly 'C:\Users\hilli\AppData\Local\Microsoft\VisualStudio\15.0_80ebba97\Designer\ShadowCache\je5ud1s4.q21\k2t5rzgz.a2b\Design\Telerik.Windows.Controls.VisualStudio.Design.4.0.dll':
Exception has been thrown by the target of an invocation.
There was an exception when loading the design time assembly 'C:\Users\hilli\AppData\Local\Microsoft\VisualStudio\15.0_80ebba97\Designer\ShadowCache\je5ud1s4.q21\k2t5rzgz.a2b\Design\Telerik.Windows.Controls.Design.5.0.dll':
Exception has been thrown by the target of an invocation.
There was an exception when loading the design time assembly 'C:\Users\hilli\AppData\Local\Microsoft\VisualStudio\15.0_80ebba97\Designer\ShadowCache\5jhvf35f.d42\do1uq2qt.455\Design\Telerik.Windows.Controls.Input.Design.5.0.dll':
Exception has been thrown by the target of an invocation.
There was an exception when loading the design time assembly 'C:\Users\hilli\AppData\Local\Microsoft\VisualStudio\15.0_80ebba97\Designer\ShadowCache\5jhvf35f.d42\do1uq2qt.455\Design\Telerik.Windows.Controls.Input.VisualStudio.Design.4.0.dll':
Exception has been thrown by the target of an invocation.
There was an exception when loading the design time assembly 'C:\Users\hilli\AppData\Local\Microsoft\VisualStudio\15.0_80ebba97\Designer\ShadowCache\a05ikgih.c3x\jjr50u34.0ga\Design\Telerik.Windows.Controls.Navigation.Design.5.0.dll':
Exception has been thrown by the target of an invocation.
There was an exception when loading the design time assembly 'C:\Users\hilli\AppData\Local\Microsoft\VisualStudio\15.0_80ebba97\Designer\ShadowCache\a05ikgih.c3x\jjr50u34.0ga\Design\Telerik.Windows.Controls.Navigation.VisualStudio.Design.4.0.dll':
Exception has been thrown by the target of an invocation.

 

I tried every method I can find on the web with a related topic, including but not limited to deleting obj and bin folders, cleaning and rebuilding, reinstalling Telerik UI for WPF and Visual Studio etc. etc..

I tracked these exceptions down with Fusion Log Viewer, and it seems they are trying to load assemblies named Telerik.Windows.Data and Telerik.Windows.Core.Design, which unfortunately are not found by Visual Studio (however they do exist in the installation and the lib folder under my solution).

I tried to copy all the telerik.*.dll files to C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\common7\ide\ in order to let Visual Studio to find them, this successfully eliminated the error messages in the General output channel, however all the Rad controls now become invisible in the designer.

I think this issue started when I changed all the projects in my solution to target x64 CPU instead of Any CPU, but I'm not sure because the problem still exists when I switch them back to Any CPU.

Martin Ivanov
Telerik team
 answered on 22 Apr 2019
1 answer
191 views

Hi i'm using RadSpreadSheet inside a ControlTemplate and binding the control with Workbook property.

But it's not getting affected, whenever my binding is changed it does not get refreshed inside the control and the UI is not rendered.

And if i manually change the binding property at run time in xaml, then the control gets the binded and renders the data it on UI.

 

I have attached the code of the control in which i'm using the RadSpreadSheet.

Nikolay Demirev
Telerik team
 answered on 22 Apr 2019
1 answer
141 views
Pressing F2 in a gridview/treelistview selects all of the text in the cell when it goes into edit mode. I am trying to make it work like Excel and just select the end of the text, but I can't see any way to do this. If I click in the cell to edit it, it the cursor goes where you click rather than selecting all.
Martin Ivanov
Telerik team
 answered on 22 Apr 2019
0 answers
90 views

Hi

I'm using button with material theme but default animation is very quickly, So I want to change animation duration to slow.
please help me, thanks

Mahdi
Top achievements
Rank 1
 asked on 19 Apr 2019
3 answers
318 views

Hello,

I'm developing a new app using telerik radwizard, using the example found at

https://docs.telerik.com/devtools/wpf/controls/radwizard/features/pages

However, when i try to run my application, i get an empty window (see image in attached filed)


I don't know what I'm doing wrong, can someone help me?

Source code bellow:

 

<Window x:Class="MainWindow.MainWindow"
                xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
                xmlns:wizard="clr-namespace:Telerik.Windows.Controls.Wizard assembly=Telerik.Windows.Controls.Navigation"
                Title="MainWindow"
                WindowState="Normal"
                WindowStartupLocation="CenterScreen"
                WindowStyle="None"
                Background="#dee3e9">
    <telerik:RadWizard x:Name="radWizard" >
        <telerik:RadWizard.WizardPages>
            <telerik:WizardPage Content="My Wizard Page Content" SideHeaderWidth="100" HeaderHeight="100">
                <telerik:WizardPage.HeaderTemplate>
                    <DataTemplate>
                       <Image Source="Images/BrandMark_Telerik_Black.png" Width="200" Height="100" />
                    </DataTemplate>
                </telerik:WizardPage.HeaderTemplate>
                <telerik:WizardPage.SideHeaderTemplate>
                    <DataTemplate>
                        <TextBlock Text="My Side Header" />
                    </DataTemplate>
                </telerik:WizardPage.SideHeaderTemplate>
                <telerik:WizardPage.FooterTemplate>
                    <DataTemplate>
                        <StackPanel Orientation="Horizontal">
                            <telerik:RadButton Content="Back"
                                               Width="70" Height="25"
                                               Command="wizard:RadWizardCommands.MoveCurrentToPrevious"
                                               CommandParameter="{Binding}" />
                            <telerik:RadButton Content="Next" Width="70" Height="25"
                                               Command="wizard:RadWizardCommands.MoveCurrentToNext"
                                               CommandParameter="{Binding}" />
                        </StackPanel>
                    </DataTemplate>
                </telerik:WizardPage.FooterTemplate>
            </telerik:WizardPage>
        </telerik:RadWizard.WizardPages>
    </telerik:RadWizard>
</Window>
hema
Top achievements
Rank 1
 answered on 18 Apr 2019
1 answer
309 views

Hi,

I would like to create and use a converter to change the background of a single selected button among the three buttons available. I don't want to handle a click event of the buttons and handle it from code behind and so tried different ways to create the converters, however it didn't work. Below I am providing a sample of my scenario. Any help would be greatly appreciated. Thank you.
 

<StackPanel Grid.Row="0" HorizontalAlignment="Center" x:Name="FirstRowControl" Orientation="Horizontal" Margin="232,0,233,0">
<telerik:RadButton Name="btn1" FontWeight="SemiBold" Margin="5" Content="Button 1" HorizontalAlignment="Left" VerticalAlignment="Top" Width="120" Height="25" BorderBrush="Black" Command="{Binding UpdateTabCommand}" >
<telerik:RadButton.CommandParameter>
<models:Tabs>Button1</models:Tabs>
</telerik:RadButton.CommandParameter>
</telerik:RadButton>
<telerik:RadButton Name="btn2" FontWeight="SemiBold" Margin="5" Content="Button 2" HorizontalAlignment="Left" VerticalAlignment="Top" Width="100" Height="25" BorderBrush="Black" Command="{Binding UpdateTabCommand}" >
<telerik:RadButton.CommandParameter>
<models:Tabs>Button2</models:Tabs>
</telerik:RadButton.CommandParameter>
</telerik:RadButton>

<telerik:RadButton Name="btn3" FontWeight="SemiBold" Margin="5" Content="Button 3" HorizontalAlignment="Left" VerticalAlignment="Top" Width="180" Height="25" BorderBrush="Black" Command="{Binding UpdateTabCommand}" >
<telerik:RadButton.CommandParameter>
<models:Tabs>Button3</models:Tabs>
</telerik:RadButton.CommandParameter>
</telerik:RadButton>
</StackPanel>

Code in the VM:
 
public DelegateCommand<Tabs?> UpdateTabCommand
{ get; }

public Tabs SelectedTab
{
get { return base.GetProperty<PedpTabs>(defaultValueFactory: () => Tabs.Button1); }
set { base.SetProperty(value); }
}

public enum Tabs
{
Button1,
Button2,
Button3
}


public ClassVM()
{
UpdateTabCommand = new DelegateCommand<Tabs?>(OnChangeTabExecute);
}


private void OnChangeTabExecute(PedpTabs? selectedTab)
{
this.SelectedTab = selectedTab ?? Tabs.StateChanges;
}

protected override void OnPropertyChanged(string propertyName)
{
base.OnPropertyChanged(propertyName);

switch (propertyName)
{
case nameof(SelectedTab):
OnTabChanged();
break;
}
}

private void OnTabChanged()
{
switch (SelectedTab)
{
case Tabs.Button1:
    MessageList = Messages2080;
    break;

case Tabs.Button2:
MessageList = Messages2088;
break;
case Tabs.Button3:
MessageList = Messages2010;
break;
}
}

Thanks, Chand

 

 

 

 

Dinko | Tech Support Engineer
Telerik team
 answered on 18 Apr 2019
8 answers
955 views
Hi
we are now in the process of choosing a WPF control set and Telerik is the front runner.
One thing we would like to know is whether it is possible to easily change the funnel-like icon for the filter at the column header of GridView control. Some of the managers want to make sure that we are not going to be stuck with it.
Thanks
Nick
Martin Ivanov
Telerik team
 answered on 18 Apr 2019
1 answer
114 views
Hello, I implemented the ZoomAndScrollSettings declaratively in my RadChart using XAML (You can see the code snippet in the attached file). The problem is that the Scrollbar to scroll or to zoom isn't displayed in the diagram. Have I forgotten something or did I do something wrong?
Martin Ivanov
Telerik team
 answered on 18 Apr 2019
1 answer
715 views

Hi, I have a hierarchy that looks something like this:

<RadLayoutControl>

  <LayoutGroup>

    <LayoutExpanderGroup>
      <SomeControl/>
    </LayoutExpanderGroup>

    <LayoutExpanderGroup>

      <RadGridView/>

    </LayoutExpanderGroup>

  </LayoutGroup>

</RadLayoutControl>

My RadGridView has many columns and rows and so causes the entire <RadLayoutControl> to scroll.  Is it possible to configure this view so that only the <LayoutExpanderGroup> that contains the <RadGridView> will scroll?

Any help would be appreciated.

Vladimir Stoyanov
Telerik team
 answered on 17 Apr 2019
3 answers
195 views

Hi,

I'm using the CloudUpload in my application, and I was wondering if there was anyway to update the tooltip language resource of the RadCloudUploadListItem Close Button (I joined a screenshot of the tooltip I'm talking about). I wasn't able to find it in the xaml style template.

Could someone help me with this issue?

Thank you,

Vladimir Stoyanov
Telerik team
 answered on 17 Apr 2019
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
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
LayoutControl
ProgressBar
Sparkline
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
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?