Telerik Forums
UI for WPF Forum
1 answer
250 views
I'm currently updating a project that has a mix of Telerik RadGrid and older Ingragistics grids. I'm going to be normalizing all the controls and I'm trying to decide if I should go with only VS controls or if using a controlset like Telerik is still a good practice. The cost of the Telerik controls isn't an issue and overall I'm happy https://xender.vip/ with the functionality they provide. If I stick with Telerik I'm also considering converting all my standard controls to their Telerik counterparts.
gorge
Top achievements
Rank 1
 updated question on 21 Mar 2022
0 answers
109 views

Hello,

Using the information at https://docs.telerik.com/devtools/wpf/controls/radwindow/how-to/use-radwindow-as-user-control works well for using the RadWindow with Prism.

However, it appears that the window is not using the color variation of the theme. I would like to switch dynamically from Light to Dark, but have been unsuccessful.

In the App.xaml.cs in OnStartup, the first line is:

Office2019Palette.LoadPreset(Office2019Palette.ColorVariation.Dark);

Other controls change to this theme, but not the Main Window.

Any suggestions?

Thank you!

Jeremy
Top achievements
Rank 1
 asked on 20 Mar 2022
1 answer
533 views

Hi everyone,

I downloaded yerstaday the testing framework (https://www.telerik.com/try/telerik-testing-framework).

And tried to use it today with a dotnet 6 wpf application and a dotnet 6 xunit test project and it seams that the testing framework has compatibility issues.

Can someone confirm it ?

Plamen Mitrev
Telerik team
 answered on 18 Mar 2022
1 answer
113 views

Output window just blank:

<telerik:RadTreeView> <telerik:RadTreeView.Items> <telerik:RadTreeViewItem Header="Football" /> <telerik:RadTreeViewItem Header="Tennis" /> <telerik:RadTreeViewItem Header="Cycling" /> <telerik:RadTreeViewItem Header="Basketball" /> </telerik:RadTreeView.Items> </telerik:RadTreeView

Did add "standard" TreeView control and it is showing fine.

What i'm missing in Getting Started Sample?

https://docs.telerik.com/devtools/wpf/controls/radtreeview/getting-started/getting-started

Thank you,

Gennady

Martin Ivanov
Telerik team
 answered on 16 Mar 2022
0 answers
137 views
Using the Office 2019 theme, we have styled dropdown button arrows to be white against the blue header background (that we had to do this seems to be a defect in the theme that I will log separately). This works fine except when they are in in the overflow menu of the quick access toolbar, they are white on white. I could not figure out any way to trigger something to make the color change when it moves to the overflow. Anything I try to point to doesn't update when it moves from PART_StripPanel to PART_OverflowPanel.
Steve
Top achievements
Rank 1
 asked on 16 Mar 2022
1 answer
166 views

I am using WatermarkTextbox and somehow that looks like it is disabled,
previously I was using xctk:WatermarkTextBox in this I was using KeepWatermarkOnGotFocus="True" which was helping me.

In telerik I am not getting any property as such.

Kindly help me in this.

 

I want like this

 

<telerik:RadWatermarkTextBox
                                                HorizontalAlignment="Stretch"
                                                IsReadOnly="True"
                                                Text="{Binding MaterialPartAndName,
                                                               ValidatesOnDataErrors=True}"
                                                ToolTip="{Binding MaterialPartAndName}"
                                                cal:Message.Attach="[Event MouseEnter] = [ResetSelectedItem]"
                                                WatermarkContent="Please select a material...">

                                            </telerik:RadWatermarkTextBox>

 

 

Regards,

Yogendra

                                               
Stenly
Telerik team
 answered on 16 Mar 2022
4 answers
84 views

I updated our telerik to the latest NoXaml version of the libraries.

 

I get the following binding error:

Cannot find source for binding with reference 'ElementName=TodayButtonBorder'. BindingExpression:Path=CornerRadius; DataItem=null; target element is 'RadButton' (Name='TodayButton'); target property is 'CornerRadius' (type 'CornerRadius')

I think this is a problem within the DateTimePicker control. I don't have any controls by the name 'TodayButton'.

 

Can someone from telerik flag this as a problem?

Max
Top achievements
Rank 1
Veteran
Iron
 answered on 16 Mar 2022
1 answer
431 views

This is a pretty minor issue but the #FF808080 gray appears twice in the default color picker (once at the bottom of first column and once at top of 2nd column) which can lead to a little strangeness.

If you start the color picker with this color selected, it will show both boxes as selected.


The other strangeness I was able to duplicate in the WPF demos (R1 2022SP1) is if I have the 2nd column box gray selected and close the color picker, then when I reopen it the gray at the bottom of the 1st column will be selected.

So start with this:

Click gray at bottom of 1st column, then reopen the screen. The box at the top of the 2nd color will remain selected.

There is a little bit of strangeness too when you have that shade of gray selected and then you click down into one of the "standard colors", it appears to leave the selected border around the original gray color (but does correctly put the selected border around the standard color).


Am I misinterpreting this or is this a bug?

Stenly
Telerik team
 answered on 15 Mar 2022
2 answers
111 views

Hello everyone,

I read the most topics with a similiar problem but nothing had worked for me.

I use WPF with MVVM and have a RadGridView. The binding from my Xaml code is with a button and a CommandParameter that passes the RadGridView to my method.

The Code looks like this

private void LoadData(object obj)
{
    RadGridView rad = obj as RadGridView;
    
    GridViewDataColumn col = new GridViewDataColumn();
    col.DataMemberBinding = new System.Windows.Data.Binding("Name");
    col.Header = "Name";

    rad.Columns.Add(col);

    //How to add now a new row to this?
}

How can I add now a new Raw with code? Something like rad.Rows.Add() does not exist.

Hope anybody can help me :-)

Guarana91
Top achievements
Rank 1
Iron
Iron
 answered on 14 Mar 2022
0 answers
175 views

Hi Team

We are facing frequent more bottom margin issue in RadTreeView with TreeVirtualizationMode="Hierarchical".

There is two level of grouping like parent, child and grandchild. With Hierarchical mode it is happening frequently. But with Recyling and Standard mode it is not happening but the performace is not good. So it is not helping right now.

Tried to adjuest the padding, margins of TreeViewPanel. Nothing helpped. And the number of grand child count is dynamic so cannot assign Height as well.

Need some suggestion. Thanks in advance!

Eg.

Parent A (Expander)

     Child A (Expander)

          Grandchild A (Content)

          Grandchild B (Content)

-----------------------------

----More Blank Space----

------------------------------

Parent B (Expander)

 

Code


<telerik:RadTreeView x:Name="SearchResultTreeView"
                                     BorderThickness="0"
                                     PreviewKeyDown="SearchResultTreeView_PreviewKeyDown"
                                     telerik:RadTreeViewItem.Selected="SearchResultTreeView_Selected"
                                     ScrollViewer.HorizontalScrollBarVisibility="Disabled"
                                     IsVirtualizing="True" 
                                     telerik:TreeViewPanel.TreeVirtualizationMode="Hierarchical"
                                     PreviewMouseLeftButtonDown="SearchResultTreeView_PreviewMouseLeftButtonDown" 
                                     Margin="0,-1,-1,0" ItemsSource="{Binding MyDummyCollectionView}"
                                     Background="{x:Null}" 
                                     BorderBrush="{x:Null}">

Uma
Top achievements
Rank 1
 asked on 11 Mar 2022
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?