Telerik Forums
UI for WPF Forum
8 answers
1.2K+ views

Hi Telerik,

We have a requirement to change the background color of a row based on changing values from a group of data, much like the alternating row color. However, instead of alternating row color based on every other row or every N row or based on some bound value, we need to alternate row background colors when values of 2 or more column values have changed.

We were hoping to find a solution that is built-in to the WPF RadGrid control and/or has fast performance. We are using MVVM.

Please find the attached image for an example of the intended behavior.

Please advise.

 

Kind regards

   

Dilyan Traykov
Telerik team
 answered on 27 Jul 2017
2 answers
302 views

Dear Admin

Is there any demonstration that how to implement animation during filling data for GridView. For example after I set ItemsSource value, filling data action will be shown with animation, just like one by one row filling within 2 or 3 seconds, or something like flowing whole row from left side to the correct position in RadGridView.

I do appreciate for your help.

Ning
Top achievements
Rank 1
 answered on 27 Jul 2017
1 answer
132 views

My company just purchased the full version of the WPF UI. I replaced all the DLLs in the project. I even deleted the references to them and replaced them with fresh references to the new DLLs. I now get the following error.

 

Exception thrown: 'System.Windows.Markup.XamlParseException' in PresentationFramework.dll
Additional information: Initialization of 'Telerik.Windows.Controls.RadGridView' threw an exception.

{"Could not load file or assembly 'Telerik.Windows.Controls.GridView, Version=2016.3.1024.45, 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)":"Telerik.Windows.Controls.GridView, Version=2016.3.1024.45, Culture=neutral, PublicKeyToken=5803cfa389c90ce7"}

 

I notice that it's looking for the old version number, not the new one, but I can't find any reference to the old version number anywhere in the project, including in the manifest file that the InnerException mentions.

I asked if we were given any verification code to enter into the DLL, but no one knew anything about one.

Mark
Top achievements
Rank 1
 answered on 26 Jul 2017
1 answer
154 views

Hi,

after the last Telerik update I have some issue with copy (with header) from grid and paste it to Excel.

If the first column doesn't have value, except for the header, when I paste the content to Excel is shifted one row right (see the attachments).

 

The CopyMode is setted to Cells | Header.

 

I opened a ticket with a demo. You can see the issue just copying the grid and paste it on the excel.

 

Thank you

Dinko | Tech Support Engineer
Telerik team
 answered on 26 Jul 2017
2 answers
201 views

Hello, 2 questions about radialmenu.

Q1: According to the documentation, all the PlacementModes will auto-adjust the location of the menu if any of it will be cut off by screen bounds. I'd like to know how, if possible, to disable this behavior, so it opens exactly how it was told to, ignoring screen bounds. An example would be great.

Q2: I have a simple button that uses a RadialContextMenu, the RadialMenu sets "IsOpen=true" in XAML. The first click works great where the radialmenu is already open. However if I close the menu, then click the button again, it is always closed and I have to click the center button to open it.

Code:

        <Button Height="40" Width="40" Grid.Row="0" Grid.Column="0">

            <telerik:RadRadialMenu.RadialContextMenu>
                <telerik:RadRadialMenu PopupPlacement="Center" ShowEventName="Click" HideEventName="LostFocus" InnerRadiusFactor="0.0" InnerNavigationRadiusFactor=".8" OuterRadiusFactor="2" Width="200" Height="200" StartAngle="180" IsOpen="True">
                    <telerik:RadRadialMenuItem CanUserSelect="False" ContentSectorBackground="LightGreen" Header="Auto" GroupName="ModeGroup" Command="{Binding ChangeModeCommand}" CommandParameter="AutoModeView"/>
                    <telerik:RadRadialMenuItem CanUserSelect="False" ContentSectorBackground="LightGray" Header="Idle" GroupName="ModeGroup" Command="{Binding ChangeModeCommand}" CommandParameter="IdleModeView"/>
                    <telerik:RadRadialMenuItem CanUserSelect="False" ContentSectorBackground="LightPink" Header="Stop" GroupName="ModeGroup" Command="{Binding ChangeModeCommand}" CommandParameter="StopModeView" IsSelected="true"/>
                    <telerik:RadRadialMenuItem CanUserSelect="False" ContentSectorBackground="LightCyan" Header="Setup" GroupName="ModeGroup" Command="{Binding ChangeModeCommand}" CommandParameter="SetupModeView"/>
                    <telerik:RadRadialMenuItem CanUserSelect="False" ContentSectorBackground="LightCoral" Header="OEMSetup" GroupName="ModeGroup" Command="{Binding ChangeModeCommand}" CommandParameter="OEMSetupModeView"/>
                </telerik:RadRadialMenu>
            </telerik:RadRadialMenu.RadialContextMenu>

        </Button>

 

Also... any updates on having the radialmenuitems automatically fill the radialmenu? So when you only add 2 items it fills the white space, and so on?

 

Thanks

Kalin
Telerik team
 answered on 26 Jul 2017
9 answers
357 views

Hello Telerik Team,

currently i'm building a text editor with 4 column layout (grid - raddocking split into 2 RadPaneGroup - grid). the first grid is used to list all of the document/file that can or being edited and its document is showed in the first radpane. the second grid is used to list all of the document or file that exist

in the user folder documents (docx, pdf, jpg etc), and if the user click one of its file, the file is opened in the second radpane. So thats the short stories.

 

now my concern is to the RichTextBox control (that show inside the radpane) used to view or edit the docx file, when i open the file,it is always showed in the most left side of the page (so is the vertical scrollbar), somehow its not so nice to look in the first impression, i had try to custom the decrease the scale factor but it still not so nice in the user eyes. So i want the document showed in the beginning of the text (like when we open document in MS Word, its always viewed in the beginning or the first text right ?), is it possible, please help me.

 

thanks in advance.

Boby
Telerik team
 answered on 26 Jul 2017
1 answer
128 views

Hello,

In Matlab, 'plot' displays a graph that has many built in features like zoom in\out in the toolbar.  

Is it possible to do it with Telerik's chart ?

If not, in my opinion, this feature should be considered in the future. 

Attached snapshot of the plot's toolbar. 

Thank you,

Zvika 

Martin Ivanov
Telerik team
 answered on 25 Jul 2017
5 answers
315 views

I need to have a stack chart with dynamic stacks based on the data provided. Please check the attached image for more details. I've found only to have fixed number of stacks in the following examples/forum posts

http://docs.telerik.com/devtools/wpf/controls/radchart/how-to/howto-select-whole-stack-of-bars-using-the-interactivity-effects

How to do this.

 

Martin Ivanov
Telerik team
 answered on 25 Jul 2017
1 answer
485 views

I want to know how the context menu is being opened in "Opening" event of it.

Usually there are two ways to open it, One is by right clicking other is by Hitting on key.Apps' on keyboard.

This need is because based on way of opening the context menu changes my menu items. 

 

 
<telerik:RadTreeListView x:Name="RadTreeListView1"                          IsSynchronizedWithCurrentItem="True"                         IsReadOnly="True"                         ItemsSource="{Binding Folders}"                         Width="600"                                                                        MinHeight="300" SelectedItem="{Binding SelectedItem}"                         Height="550"                         CanUserFreezeColumns="False"                         RowIndicatorVisibility="Collapsed"                          SelectionMode="Extended"                          ColumnWidth="*" local:MySelectedItemsBindingBehavior.SelectedItems="{Binding SelectedItemCollection}">             <telerik:EventToCommandBehavior.EventBindings>                 <telerik:EventBinding EventName="SelectionChanging"                                Command="{Binding SelectionChangedCommand}"                                PassEventArgsToCommand="True"/>                 <telerik:EventBinding EventName="MouseRightButtonDown" Command="{Binding testingtesting}"                               PassEventArgsToCommand="True"/>                 <telerik:EventBinding EventName="KeyDown" Command="{Binding KeyDownCmd}"                               PassEventArgsToCommand="True"/>             </telerik:EventToCommandBehavior.EventBindings>             <telerik:RadContextMenu.ContextMenu >                 <telerik:RadContextMenu x:Name="GridContextMenu" ItemsSource="{Binding ContextMenuSelectedItems}">                     <telerik:EventToCommandBehavior.EventBindings>                         <telerik:EventBinding EventName="Opening"                                Command="{Binding ContextButtonClick}"                                PassEventArgsToCommand="True"/>                     </telerik:EventToCommandBehavior.EventBindings>                 </telerik:RadContextMenu>             </telerik:RadContextMenu.ContextMenu>         </telerik:RadTreeListView>
 

 

Event args for my "ContextButtonClick" command does not have any information about how it is being opened.

Having validation check of "KeyBoard.IsDown(Key.Apps) or KeyBoard.IsUp(Key.Apps)" is also not solving because, after releasing the "apps" button only context menu will start opening, so at point checking the stat of "Apps" button doesn't give us confident results.

 

 

Any help in this regards is much appreciated. 

 

 

Martin Ivanov
Telerik team
 answered on 25 Jul 2017
2 answers
116 views
Is is possible to control the placement of the radial menu item inside the radial menu? We would like to be able to create an item but not have it take the first available slot. 
Martin Ivanov
Telerik team
 answered on 24 Jul 2017
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
Slider
Expander
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
WebCam
CardView
DataBar
Licensing
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
HighlightTextBlock
Security
TouchManager
StepProgressBar
VirtualKeyboard
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?