Telerik Forums
UI for WPF Forum
4 answers
261 views

Hi there,

I'm working in a pretty big IT shop and it appears that 32 Telerik.WinControls where installed with version 2014.2.617.20 by one of the IT staff here.

The downstream issue I'm having is when trying to run the latest Telerik Demos App "Demos - Telerik UI for WPF", I get a DLL mismatch error.

Could not load file or assembly 'Telerik.Windows.Controls, Version=2016.1.112.40, Culture=neutral, PublicKeyToken=5803cfa389c90ce7' or one of its dependencies, The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040).

I was able to trace back via my log files that this was the file that was used to install these assemblies:  "Telerik_UI_for_WinForms_2014_2_617.msi"

I want to mainly run the demo app to show to influential business partners what Telerik Controls can do, but these current ones installed on my GAC are blocking me from using the WPF Demo App

Would the best course of action be to find this MSI somewhere, and un-install it, or download it from Telerik (if it still exists)?

Or, is the conflict something else?

Much appreciate any feedback someone can provide.

Cheers!

 

 

Yana
Telerik team
 answered on 04 Apr 2016
4 answers
992 views

Hello Telerik,

I am trying to accomplish this

http://www.telerik.com/forums/gridview-cell-mousehover-hand-cursor

but for WPF.

Basically set a hand cursor when it is hovering on the "Name" cell.

I want to do a link-like visual to my cell (if you could also help on this, much appreciated)

I have tried to handle events like

<telerik:GridViewDataColumn DataMemberBinding="{Binding Name}" MouseEnter="GridViewDataColumn_MouseEnter" GotMouseCapture="GridViewDataColumn_GotMouseCapture" MouseMove="GridViewDataColumn_MouseMove" IsMouseCaptureWithinChanged="GridViewDataColumn_IsMouseCaptureWithinChanged"  CellStyleSelector="{StaticResource NameLengthTemplateSelector}"/>

private void GridViewDataColumn_MouseEnter(object sender, System.Windows.Input.MouseEventArgs e)
{
 
}
 
private void GridViewDataColumn_GotMouseCapture(object sender, System.Windows.Input.MouseEventArgs e)
{
 
}
 
private void GridViewDataColumn_MouseMove(object sender, System.Windows.Input.MouseEventArgs e)
{
 
}
 
private void GridViewDataColumn_IsMouseCaptureWithinChanged(object sender, DependencyPropertyChangedEventArgs e)
{
 
}

 

but none of them gets hit by my breakpoint when I hover my cell

 

 

please help!

cheers

Yoan
Telerik team
 answered on 04 Apr 2016
3 answers
347 views
I have an old .net application that is no longer supported or being devolped. I need to make some changes and would also like to fancy up the interface. I used justdecompile to decompile it but I am getting a lot of XAML errors -
The property 'StyleManager.Theme' does not exist in XML namespace 'http://schemas.microsoft.com/winfx/2006/xaml/presentation'. Line 57 Position 116

.
The application uses

Telerik.Windows.Controls.Data.dll,Telerik.Windows.Controls.dll,Telerik.Windows.Controls.Docking.dll, Telerik.Windows.Controls.Input.dll, Telerik.Windows.Controls.Navigation.dll,Telerik.Windows.Data.dll

I ran the upgrade wizard on the project and it completed without any error I think it upgraded from Telerik version 2013. Can I upgrade this project to have no XAML and only use implictit styles?

 

 

Yana
Telerik team
 answered on 04 Apr 2016
1 answer
183 views

Hello,

we are evaluating telerik UI for WPF and testing now RadWizardControl with MVVM. We want do use the wizard for printing different documents. Is there a way to set different start pages on initializing the wizard?

Like when I navigate from page 1 to the wizard use index 0, from page 3 to the wizard index 5 and so on...

Is this possible?

ty 

Yoan
Telerik team
 answered on 04 Apr 2016
1 answer
160 views
Hi, simple question, may I ask how do I change the ruler of a document. 
 
Todor
Telerik team
 answered on 04 Apr 2016
1 answer
167 views

Is there a way to have the step change do a transition when the page is changed (for example, a new page slides in from the right, going back slides in from the left)?

 

Thanks,

Brian

Stefan Nenchev
Telerik team
 answered on 04 Apr 2016
1 answer
236 views
Hi i have a RadGridview bound with datatable/observable collection of model class.Now what i want when user clicks on export button it should export only selected rows from grid not all rows.
Stefan
Telerik team
 answered on 01 Apr 2016
4 answers
1.1K+ views

Hello Telerik,

I am trying to customize a RowStyle, depending on what comes from the database.

My first attempt is very simple, but I am getting this error when running

An unhandled exception of type 'System.InvalidOperationException' occurred in PresentationFramework.dll
Additional information: 'DataGridRow' TargetType does not match type of element 'GridViewRow'.

 

the error makes sense, since telerik GridView is something different than a DataGrid

but I am trying to implement the same approach.

I think it will be more clear when you see my code below:

<telerik:RadGridView Name="RadGridView"  ItemsSource="{Binding View}" Style="{StaticResource VitorStyle}"   AutoGenerateColumns="False">

<Style x:Key="VitorStyle" TargetType="telerik:RadGridView" >
         
        <Setter Property="RowStyle">
            <Setter.Value>
                <Style TargetType="DataGridRow">
                    <Style.Triggers>
                        <DataTrigger Binding="{Binding Name}" Value="Anastacia Santana">
                            <Setter Property="Background" Value="Red"></Setter>
                        </DataTrigger>
                        <DataTrigger Binding="{Binding Name}" Value="Ana Taylor">
                            <Setter Property="Background" Value="DarkOrchid"></Setter>
                        </DataTrigger>
                    </Style.Triggers>
                </Style>
            </Setter.Value>
        </Setter>
    </Style>

As a kickoff test, I would like all Anastacia Santana rows to be RED and all Ana Taylor to be DarkOrchid.

My following tests should envolve a bit wether it is true or false, or a sum result wether it is positive or negative.

 

Can you please show me the best way to achieve this?

as a side note, I would like to keep my XAML as clean as possible. Thus the use of the resource file

 

Thank you very much!

 

Stefan Nenchev
Telerik team
 answered on 01 Apr 2016
1 answer
127 views

Hi,I'm currently working with all MailMerge Documents. Is there a way to grab the Mail Merge document value without disrupting the UI thread. 

 

this.radRichTextBox.Document.MailMergeDataSource.MoveToIndex(index);

 

 

this.radRichTextBox.Document.MailMergeDataSource.MoveToIndex(counter);
this.radRichTextBox.Document.MailMergeDataSource.MoveToIndex(counter);

 

 

 

 

Tanya
Telerik team
 answered on 01 Apr 2016
4 answers
173 views

Hello,

I've been working with the Chartview lately, and have a chart with a datetimecategorical axis, that utilizes a chartdatasource to group datapoints when the chart is zoomed out. My problem is that the default aggregation function being applied takes the average of grouped datapoints, and I am looking for the sum. To my knowledge there is no sumfunction of type ChartAggregateFunction, and very little information detailing how I go about creating a custom function to gain that functionality.

I was wondering if you could show me an example detailing how to go about solving my problem.

Anders Abildgaard
Top achievements
Rank 1
 answered on 01 Apr 2016
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
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?