Telerik Forums
UI for WPF Forum
1 answer
747 views

Hello,

The leftmost column of my RadGridView has cells containing a "Save" button (a disk icon you can click).

I want users to be able to click on that Save button but not on the cell itself, nor the column, because it's kinda pointless.

I tried setting IsReadOnly to true and IsEnabled to false on this GridViewColumn but it doesn't help!

Thanks for your answer!

Martin Ivanov
Telerik team
 answered on 22 Dec 2021
0 answers
470 views

We are updating to Telerik.Windows.Controls.GridView 2021.2.615.45.

The methods "ScrollIntoViewAsync" and "ScrollIndexIntoViewAsync" are not working as expected, in the case that a row would be partially visible:

 

As you see in the above screenshot - we insert a new row with "BeginInsert" and set the new row visible. Even if we call "ScrollIntoView" the row is not fully visible as expected.

The bug is located in FlatLayoutStrategy.IsRowInViewPort:

As you can see in the screen above, the logic only checks if the beginning of the row is visible - but not the full row.

Comparing it to Telerik.Windows.Controls.GridView 2014.1.331.45 - the logic worked as expected - see here:

With this old logic, the row is fully scrolled into viewport.

Can you fix this logic or give me a workaround?

 

 

corner4
Top achievements
Rank 1
 asked on 21 Dec 2021
1 answer
140 views
I am using RadCartesianChart with ChartSeriesProvider.
I have several lines.
I want to show the vertical axis on the left and right, like in the example:

https://docs.telerik.com/devtools/wpf/controls/radchartview/axes/multipleaxes#multiple-axes-and-seriesprovider - it does not provide a solution to my problem. I need a common vertical axis for all lines

 

Thank you

Dilyan Traykov
Telerik team
 answered on 21 Dec 2021
1 answer
101 views

Is it possible to set a custom ‘Search as You Type’ style on the highlighted grid cells?

I have some users that are color blind and can’t read the highlighted cells, to be honest, I find the red text hard to read myself and I’m not color blind.

See attached screenshot. 

Thanks,

Richard

Stenly
Telerik team
 answered on 21 Dec 2021
1 answer
208 views

Is it possible to add resize handles to a RadDiagramShape object, so it would look something like this?

Stenly
Telerik team
 answered on 21 Dec 2021
1 answer
211 views

Hi there,

we have a customized RadDiagram which seems to have a step of 20 when resizing. (I do not know where this is set).

Now we want to resize to the exact bounds of the shapes when resizing when near a delta to the bounds of a shape.

The use case is that a placeholder shape may contain other shapes (not a shape container) and when resizing we do not catch the borders because of the stepping.

When not near a border of another shape the default steps of 20 should be used.

I think the ResizingService could help us - but I do not understand how it works.

Thank you on advance,

Andi

Petar Mladenov
Telerik team
 answered on 21 Dec 2021
2 answers
176 views

I created a simple grid with a GridViewDataColumn bound to a DateTime property.

        <telerik:GridViewDataColumn DataMemberBinding="{Binding Date}" DataFormatString="{} {0:dd.MM.yyyy}"/>

Using Office2019 Theme (NoXaml packages), when the picker area is expanded, cell area is empty, no current date value visible while modifying the picker:

It seems to be "white on white", this appears when you select the cell areas where the date parts should be located:

The date shows up as expected after leaving the cell.

Switching to Office2016 Theme, everything is fine:

This might be an issue with the specific Theme

Thanks,

Jens


Masha
Telerik team
 answered on 17 Dec 2021
1 answer
222 views

Hi,

I've got a simple RadScheduleView which is displayed as a Week view only. I want to add a button to the Day Header which provides some custom "Lock" logic for that day. However, no matter what I do, the button in the header is always disabled.

Is there any way that I can achieve this?

My code:

<telerik:RadScheduleView AppointmentsSource="{Binding Items}">
    <telerik:RadScheduleView.GroupHeaderContentTemplate>
        <DataTemplate>
            <Grid>
                <TextBlock Text="{Binding Name, StringFormat=dd dddd}" HorizontalAlignment="Center" VerticalAlignment="Center"/
                <Button Content="🔓" HorizontalAlignment="Right" IsEnabled="True" />
            </Grid>
        </DataTemplate>
    </telerik:RadScheduleView.GroupHeaderContentTemplate>
    <telerik:RadScheduleView.ViewDefinitions>
        <telerik:WeekViewDefinition  />
    </telerik:RadScheduleView.ViewDefinitions>
</telerik:RadScheduleView>
Thanks in advance
Stenly
Telerik team
 answered on 16 Dec 2021
1 answer
129 views

Is there a SelectionBoxTemplate for the RadGridView GridViewComboBoxColumn? I saw a template that was posted in the forum area from a while ago, but when I tried it in one of the latest Telerik libraries, it doesn't work?

 


 <telerik:GridViewComboBoxColumn Header="Sic Code"
                                                    IsComboBoxEditable="true"
                                                    DataMemberBinding = "{Binding SicCodeID}"
                                                    ItemsSource="{Binding Current.SicCodes, Source={StaticResource Lookups}}"
                                                    DisplayMemberPath="SicCodeValue"
                                                    SelectedValueMemberPath="SicCodeID"  
                                                    EditTriggers="CellClick"
                                                    LostFocus="GridViewComboBoxColumn_LostFocus"
                                                    TextSearch.TextPath="SicCodeValue"
                                                    Width="226">
                            <telerik:GridViewComboBoxColumn.EditorStyle>
                            <Style TargetType="telerik:RadComboBox">
                                <Setter Property="ClearSelectionButtonVisibility" Value="Visible" />
                                <Setter Property="ClearSelectionButtonContent" Value="Clear" />
                                <Setter Property="Foreground" Value ="Black" />
                                <Setter Property="DropDownWidth" Value ="480" />
                                <Setter Property="OpenDropDownOnFocus" Value="True"/>
                                <Setter Property="SelectionBoxTemplate">
                                    <Setter.Value>
                                        <DataTemplate >
                                            <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" >
                                                <TextBlock Text="{Binding SicCodeValue}" Width="70" />
                                                <TextBlock Text="{Binding SicCodeDescription}" Width="370"/>
                                            </StackPanel>
                                        </DataTemplate>
                                    </Setter.Value>
                                </Setter>
                                <Setter Property="ItemTemplate">
                                    <Setter.Value>
                                        <DataTemplate >
                                            <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" >
                                                <TextBlock Text="{Binding SicCodeValue}" Width="70" />
                                            </StackPanel>
                                        </DataTemplate>
                                    </Setter.Value>
                                </Setter>
                            </Style>
                        </telerik:GridViewComboBoxColumn.EditorStyle>
                    </telerik:GridViewComboBoxColumn>

 

Any idea's?

Paul

Stenly
Telerik team
 answered on 16 Dec 2021
1 answer
168 views

Hi Telerik Team,

We have a requirement where we need to display more columns in a wrapped manner.

The row cells should also be wrapped corresponding to the columns.

I hope the winforms is having this kind of feasibility.

I would like to have it in WPF as well.

Please let me know the solution.

Attachment for your reference.

Martin Ivanov
Telerik team
 answered on 16 Dec 2021
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?