Telerik Forums
UI for WPF Forum
2 answers
181 views

I am reviving an application that must remain in Visual Studio 2010 and uses .NET 4.0.
My projects all use Telerik's Binaries.NoXaml.

I am renewing my license to use the latest Telerik release.
While those wheels are in motion, I downloaded the latest trial and find there is no WPF40 folder in Binaries.NoXaml.
I tried referencing the WPF45 dlls, but I'm getting build errors such as:
The type reference cannot find a public type named 'RadButton'

I'm not sure if this is because I'm referencing the WPF45 dlls or something else.
I do see there is a WPF40 folder in the regular Binaries folder.
This makes me question if the WPF40 Binaries.NoXaml are missing.

Are they missing?
Or should WPF45 work fine?
I look forward to any advice.
Buzz

Buzz
Top achievements
Rank 1
 answered on 22 Apr 2019
3 answers
75 views
Hi there,

I have an issue getting customizing CellEditTemplate to work. I am trying to update the title of a task in db, so I am using GanttView_TaskEdited event to get edited task. However e.Task.Title gives me existing value instead of giving me new value that just entered by user. Any thoughts on this?

Thanks,
Bahram Afsharipoor
Dilyan Traykov
Telerik team
 answered on 22 Apr 2019
3 answers
101 views

I'm using MVVM to data bind the items of a RadTreeListView to an observable collection.

When the value of the DataMemberBinding is updated in the View-Model, the value is correctly reflected in the RadTreeListView GridViewCell.   But, cells where the value was updated are highlighted, as shown in the attached screenshot.   I would prefer the updated cells not be highlighted.

Dinko | Tech Support Engineer
Telerik team
 answered on 22 Apr 2019
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
185 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
133 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
87 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
311 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
299 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
945 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
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
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
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
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?