Telerik Forums
UI for WPF Forum
3 answers
115 views

Hello.

I need directly selected the path like 'DeskTop', 'Videos' or other in the custom place pane sometimes in my application.

Is there has a way to return the selected custom place path in custom place pane?

Martin Ivanov
Telerik team
 answered on 23 Mar 2020
4 answers
308 views

Hello,

MergedCellsStyle of my RadGridView is below.I want to chenge the background of the mergedCell when it is selected.But the code dose not work.

How to achieve that?

Thanks.

<Style x:Key="GridViewMergedCell1" TargetType="telerik:GridViewMergedCell" >
            <Setter Property="ContentTemplate">
                <Setter.Value>
                    <DataTemplate>
                        <StackPanel>
                            <TextBlock Text="{Binding}" Foreground="Black" HorizontalAlignment="Center" VerticalAlignment="Center" FontWeight="Bold"/>
                        </StackPanel>
                    </DataTemplate>
                </Setter.Value>
            </Setter>
            <Setter Property="Background" Value="AliceBlue"/>
            <Style.Triggers>
                <Trigger Property="IsSelected" Value="True">
                    <Setter Property="Background" Value="AliceBlue"/>
                </Trigger>
            </Style.Triggers>
        </Style>
Vladimir Stoyanov
Telerik team
 answered on 19 Mar 2020
3 answers
354 views

I'm trying to only allow users to type in 6 digits integer with prefix "CA", and now I can only type in one leading zero, not multiple zeros. 

Here is my code, and ProjectNumber is a nullable double. 

<telerik:RadMaskedNumericInput                     

Grid.Column="0"                   

Margin="25, 0, 0, 10"                    

Width="100"                   

Mask="CA#####"                   

Placeholder=""                            

AutoFillZeros="False"                   

AutoFillNumberGroupSeparators ="False"                   

IsClearButtonVisible="False"                                       

AllowInvalidValues="True"                   

Validation.ErrorTemplate="{x:Null}"                   

maskedInput:MaskedInputExtensions.Minimum="0"                     

HorizontalContentAlignment="Left"                   

HorizontalAlignment="Left"                                        

Value="{Binding Path=(viewModel:IProjectFolderViewModel.ProjectNumber), Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"/>

 

Also, the prefix 'CA' only appears after users click on the input box or type in something. is there anyway that we could show the prefix all the time. 

Martin Ivanov
Telerik team
 answered on 19 Mar 2020
1 answer
263 views
Hello , I hope you are well.

I have a problem and I need help , I'm working on a WPF project with Telerik UI , my issue is turning about CRUD System 

I Have those things : 
 - Entity Model Auto generated 
 - Dynamic RadDataForm with dynamic Data source for each Table in my Entity model.
 - SQL Server DataBase 

When I load my DataContext , the dataform dynamicly generated with Model types ( Ex : text feild for string types , date Picker for DateTime types ... ) unitil now all is good.

First problem : 

So for Float types when I add a new item and leaving the text field empty is working because it's not required in my data annotations but when I put a value and I change my mind after by let the value empty I got the error Validation message " input string format is incorrect " , knowing that my ( int , float ) values in my Model is Nullable ( I tried Nullable<flaot> and float? ) both cases the same error.

Note : I tried with the ( sdk-projects Telerik  and Demos - Telerik UI for WPF ) examples and same result. 

Second problem : 

In the RadDataForm for numeric values do I can't insert decimal numbers normally ? ( Ex: I wanna write 5.2  I found that I have to write 52 and use arrows position between ( 5 and 2 ) and then put the ' point (.) '

Thank you .
Martin Ivanov
Telerik team
 answered on 18 Mar 2020
1 answer
141 views

Hi,

The Radwindown show incompletely  when restoring from minimum state, just like there is no fresh to most of window area.

I asked in the SO site , but there is no answer. 

 

https://stackoverflow.com/questions/59711037/telerik-radwindow-render-incompletely-when-setting-allowtransparency-false

 

Thanks.

Martin Ivanov
Telerik team
 answered on 18 Mar 2020
1 answer
392 views

Hi.

 

I would like to obtain a donut-like graph similar to the one in the image. How could I put text inside a donut graphic?

 

Thank you.

Dinko | Tech Support Engineer
Telerik team
 answered on 18 Mar 2020
1 answer
105 views

I have a large dynamic number of series to display on a RadCartesianChart (series will be generated using a SeriesProvider). Groups of series will share a common vertical axis (such as 5 series on axis A, and another 5 series on axis B).  All series will be of the same type.

 

If possible, I'd like to use a palette for automatically assigning the colors to each series.  However, the series on Axis A should have one group of colors (e.g. various shades a red), and the series on Axis B should have a different group of colors (e.g. various shades of blue). 

 

 

Is there a way to use a separate palette for each group of series, or associate a group of series with a given group of PaletteEntries?  Since all series will be of the same type, I assume I can only create one SeriesEntry collection in a custom palette for this series type.

 

 

Or are my best options to manually assign the appropriate PaletteEntry to each series, or forget the palette altogether and just manually assign the desired colors?

Martin Ivanov
Telerik team
 answered on 17 Mar 2020
1 answer
892 views

I'm trying to modify the tab control's header background and border with the style triggers when the tab is selected but nothing seems to be working and the code also doesn't shows any error message.

Below is the XAML of the control:

<telerik:RadTabControl x:Name="presetTab" Grid.Row="1" Margin="0,5" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" 
   ScrollMode="Item" HeaderBackground="#F7F3F2"
   ItemsSource="{Binding Source={StaticResource DataSource}, Path=Tabs}"
   ContentTemplateSelector="{StaticResource ContentSelector}">
<telerik:RadTabControl.ItemContainerStyle>
<Style TargetType="telerik:RadTabItem">
<Setter Property="BorderBrush" Value="#BCBCBC"/>
<Setter Property="BorderThickness" Value="1"/>
<Setter Property="HeaderForeground" Value="Black"/>
<Style.Triggers>
<Trigger Property="telerik:RadTabItem.IsSelected" Value="True">
<Setter Property="BorderBrush" Value="#BCBCBC"/>

<Setter Property="BorderThickness" Value="1"/>

</Trigger>
</Style.Triggers>
</Style>
</telerik:RadTabControl.ItemContainerStyle>
</telerik:RadTabControl>

I need to apply the same border style as normal when the tab is selected and the background color will be different.

I tried the IsSelected property both in Data Trigger and in Style Trigger but both is not working. What am I doing wrong.

Regards,

Karthik N

Vicky
Telerik team
 answered on 17 Mar 2020
2 answers
214 views

Hello

I have a Grid with dynamic object on DataSource with AutoGeneratedColumns.

When I open a filter on any column, i only have 4 options : "equals / not equals / null / not null"

How can I activate "contains" when my colum is string ?

To reproduce, you can test on 'BindingToDynamicObject' project on sdk (https://github.com/telerik/xaml-sdk/tree/master/GridView/BindingToDynamicObject)

Thanks for your help

JC
Top achievements
Rank 1
 answered on 17 Mar 2020
5 answers
256 views
Hello,

My application shows a series of diagrams and implements a back-forward functionality on them. I do this by changing GraphSource.

However, I would like to preserve the position and zoom of the diagrams as the user goes back and forth. I'm trying to do this by setting the Position and Zoom properties on RadDiagram. However, the view is not correctly restored. I've verified that the correct position and zoom values are being set.

What is the recommended way to do this?
Petar Mladenov
Telerik team
 answered on 17 Mar 2020
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
DataPager
PersistenceFramework
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
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?