Telerik Forums
UI for WPF Forum
1 answer
433 views
I have the following GridViewDataColumn with the checkbox and textblock Elements in the celltemplate. If the checkbox is checked, the textblockcontent in CellTemplate should be updated. But actualy the textcontent is updated when the cell get into edit mode. How can i update the content of textblock in the view if the Checkbox is checked.  
 
 
<telerik:GridViewDataColumn DataMemberBinding="{Binding IsChecked, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" IsReadOnlyBinding="{Binding Unavailable}" EditTriggers="CellClick"  Header="Check" Width="Auto">
    <telerik:GridViewDataColumn.CellTemplate>
        <DataTemplate DataType="{x:Type views:ListItem}">
            <Grid>
                <CheckBox IsChecked="{Binding Path=IsChecked}" IsEnabled="{Binding Path=Unavailable, Converter={StaticResource InverseBooleanConverter}}" Command="{...}, Path=Data}"
                          CommandParameter="{...}">
                    <TextBlock Text="{Binding Status, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" TextAlignment="Right"></TextBlock>
                </CheckBox>
 
            </Grid>
        </DataTemplate>
    </telerik:GridViewDataColumn.CellTemplate>
Dimitar Dinev
Telerik team
 answered on 18 Nov 2019
1 answer
338 views
I want to display checkbox with text next to each other. But the solution below does not work. Only Checkbox is displayed. What is wrong?
 
<telerik:GridViewCheckBoxColumn DataMemberBinding="{Binding IsChecked, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" IsReadOnlyBinding="{Binding Unavailable}" EditTriggers="CellClick"  Header="Check" Width="Auto">
                                <telerik:GridViewCheckBoxColumn.CellTemplate>
                                    <DataTemplate DataType="{x:Type views:ItemList}">
                                        <Grid>
                                            <CheckBox IsChecked="{Binding IsChecked}" IsEnabled="{Binding Unavailable, Converter={StaticResource InverseBooleanConverter}}" Command="{.....}, Path=Data}"
                                                      CommandParameter="{...}">
                                                <CheckBox.Content>
                                                    <TextBlock Text="{Binding Status, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" TextAlignment="Right"></TextBlock>
                                                </CheckBox.Content>
 
                                            </CheckBox>
 
                                        </Grid>
 
                                    </DataTemplate>

 

....

Dimitar Dinev
Telerik team
 answered on 18 Nov 2019
1 answer
158 views

     I have a live updating RadCartesianChart and I noticed the data plots from right to left then scrolls.

I want the data to start plotting on the left then scroll as new data comes in...

Martin Ivanov
Telerik team
 answered on 18 Nov 2019
1 answer
209 views

     My chart currently plots a new data point once per second. Currently the chart will just scrunch and get smaller as it fills with data.

I would like to show a specific number of data points at any given time say 50 for example, And allow users to scroll back through older data points.

The first thing is how do I configure the RadCartesianChart to only show say the 50 latest samples in view?

Then allow user to scroll backwards to view older data?

Martin Ivanov
Telerik team
 answered on 18 Nov 2019
2 answers
354 views

Hi, I'm trying to add a textbox to the window header so that I can add some search as you type functionality. However while I can add the textbox I can't interact with it. It's like it is under a layer of the header. Double clicking the textbox resizes the window, the click doesn't go through to the text box. 

Attached is an example from MS Teams. 

Thanks,

Richard

Martin Ivanov
Telerik team
 answered on 18 Nov 2019
3 answers
299 views

Hello,

 

I`m trying to boost up the performance of the ScheduleView control when i have a lot of appointments.

I can see that Telerik is announcing a build in UI Virtualization for schedule view at the following link:  https://www.telerik.com/products/wpf/scheduleview.aspx 

but I can`t see it nor I can find a tutorial how to apply it on a Schedule view control.

I`ve also checked the tutorials about UI and Data virtualization  but I cannot see explained anything about the ScheduleView control.

For the data virtualization it`s said that the NOT supported.

https://docs.telerik.com/devtools/wpf/common-information/consuming-data/using-data-virtualization    

 

Can anyone point me to the right direction?   

I`m using 

My appointment template doesn`t seems like too complex. I`m experiencing poor performance once the number of appointments are more than ~100

Vladimir Stoyanov
Telerik team
 answered on 18 Nov 2019
1 answer
241 views

 Hello,

When displaying the map with the OpenStreet provider (with a valid API key). The mini map displays an error message (API key required)!

See the screenshot

Petar Mladenov
Telerik team
 answered on 18 Nov 2019
1 answer
339 views

     Is there a way to move the scroll bar on a live updating line chart? 

I want to set it to a position and size then every 50 or so data points have it shift

Martin Ivanov
Telerik team
 answered on 18 Nov 2019
5 answers
329 views

Hello,

I have a View which I want to split into 4 sub-parts, flexibly. To do this I tried to take advantage of the RadLayoutControl. In one of the 4 sub-, I place a RadGridView which binds to a collection giving it exactly 1000 rows. The performance with this configuration is terrible, and not usable.

If I comment out the usage of the RadLayoutControl and it's sub-elements, and just show the same GridView, the performance is fine.

I am aware of the performance restrictions on the RadGridView, please see:

https://docs.telerik.com/devtools/wpf/controls/radgridview/troubleshooting/performance
https://docs.telerik.com/devtools/wpf/controls/radgridview/performance/tips-tricks
which are somewhat redundant as they show the same information.

Most likely the "problem" is:
RadGridView is placed in a control that measures its children with infinity - such controls are:
ScrollViewer
StackPanel (when vertical it measures with infinite height and when horizontal - with infinite width)
Grid with RowDefinition Height="Auto" or ColumnDefinition Width="Auto".

I do not place the GridView in any Grid where Height="Auto" or ColumnDefinition Width="Auto".
However, looking at the visual trees in snoop, it is clear that "LayoutControlGroup", "LayoutControlExpanderGroup" etc. all add their own Grids and ScrollViewers.

How can I then put a GridView inside of a nested set of Layout Controls and get it to work normally?

For your information, my nested Layout Controls are very similar to those in the Demo Code Samples for "Layout Control", "First Look". Nothing special.

Thanks,
Mark

Mark
Top achievements
Rank 1
 answered on 15 Nov 2019
1 answer
128 views

Hello,

I have RadCartesianChart with DateTimeContinuousAxis and LinearAxis (DateTime vs double representation). And I want to to use KeepExtremesFunction, but exception occurs:

System.InvalidOperationException: 'No generic method 'KeepExtremes' on type 'Telerik.Windows.Controls.ChartView.ChartSamplingFunctions' is compatible with the supplied type arguments and arguments. No type arguments should be provided if the method is non-generic. '

Bay the way ChartMaxFunction, ChartMinFunction or MemberFirstFunction works fine.

 

public class LineSeriesEx : LineSeries
{
    protected override ChartAggregateFunction GetCategoryAggregateFunction()
    {
      return new KeepExtremesFunction();
    }
}

 

Thomas
Top achievements
Rank 1
 answered on 15 Nov 2019
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?