Telerik Forums
UI for WPF Forum
3 answers
144 views

I have a child gridview within another one - but we seem to be running into a problem when the user sorts on the child gridview.  Basically this only seems to happen when there is a certain amount of records within the child gridview (25+), but some of the rows go completely blank and do not render out the information.  It seems to be random rows each time.

 

Just wondering if anyone has any ideas on this - I can post code if required, but have added screenshots of it happening:

 

https://i.ibb.co/5kLdj0T/Telerik-Issue-No-Sort.png - this displays the grid without the issue (no sorting)
https://i.ibb.co/MMf11MN/Telerik-Issue-Sort.png - this displays the grid with sorting (see blank rows)

Martin Ivanov
Telerik team
 answered on 06 Aug 2019
1 answer
241 views

I have set the cell format to text in my spreadsheet, as I am editing numbers that are stored with greater precision than the spreadsheet can handle. This works for reading and writing in the spreadsheet programatically, but when numbers are pasted in they are rounded to 15 decimal places.

How can I make pasted numeric values respect the cell's text formatting ?

Thanks

Nikolay Demirev
Telerik team
 answered on 06 Aug 2019
1 answer
75 views

Hello,

In the 2 column table`s properties when I set Column preferred width = 40 Percent, and next one to 60 Percent , first column changes to Pixel Measure.

Is it a Bug?

 

Tanya
Telerik team
 answered on 06 Aug 2019
0 answers
250 views

I have a radtreeview control inside a stackpanel. I have a text box and a button to search for a word. When i search a word, it traverses through entire list and selects the item which contains the search word.

This functionality is working properly for the list items visible in the stackpanel. The items which are not visible in stackpanel are getting selected but are not coming into the view of stack panel. The scrollbar is not scrolling to show the selected item.

This above mentioned issue is not shown on all items. This is comming only for the first child element of a parent. When the second item is selected programatically, scrollbar is moving and the item is comming into view.

I tried with using BringIntoView and BringItemintoView events. But its not working

In Xaml

Binded IsExpanded property to expand a parent if child is selected programatically.

Binded Focusable property to focus to the programatically selected item .

Binded IsSelected property to select the programatically selected item .

For Event="Selected" created an event handler. In this function, I am calling BringIntoView function on the item.

This event is triggered for all the items in the list except for the programatically selected first child item.

Shilpa
Top achievements
Rank 1
 asked on 06 Aug 2019
2 answers
146 views

Hi guys,

We are using RadRichTextBoxRibbonUI for out internal editor and would like to increase width of the StylesGallery so that the styles are arranged in more than 3 columns. Ideally, the number of columns is always three even if the control is wider (see the screenshot attached). Ideally we want a number of columns matches the control width.

How can we possibly do that? Thank you.

Yaroslav
Top achievements
Rank 1
 answered on 05 Aug 2019
2 answers
271 views

Hi guys,

In our application we are using RadTreeListView and need to give users an ability to choose displayed columns (except the tree column).

Given all the similiarities between RadTreeListView and RadGridView I expected to use property CanUserSelectColumns (like described here https://docs.telerik.com/devtools/wpf/controls/radgridview/selection/column-selection) but surprisingly such a property does not exist for RadTreeListView. 

So could you please advise what would be the best possible solution given that we want it to be the same way as for gridviews in other parts of the application? Thank you.


Yaroslav
Top achievements
Rank 1
 answered on 05 Aug 2019
3 answers
177 views

Hello,

On an AutoCompleteBox, :

- MultipleMode : The selection have a border and a close button. It's really easy to remove the selection. But the number of selection is not limited.

- SingleMode : The selection have no border and close button.

Is it possible to have SingleMode with the border and the close button ? Or is it possible to limit the selection quantity of MultipleMode to 1 ?

Best regards

Philippe

Vladimir Stoyanov
Telerik team
 answered on 05 Aug 2019
1 answer
105 views

Hi,

I'm new to Telerik. In learning MVVM, I've been religiously separating the ViewModel and Model. However, when looking at Telerik examples, such as those for RadDataForm, it appears that only one model class is used, and that it is bound directly to the View. The notes state that if I want to use change notification, I should implement INotifyPropertyChanged, which I typically do in the ViewModel. So, for best practice,should I split the sample class into a Model and ViewModel at this point?

On a related note, I've been implementing IDataNotifyError in my test apps, but it appears that I can tap into Telerik's simplified validation model. So let me turn this this into a broader question. For a thorough understanding, I've been trying to reconcile Telerik's approach to the lessons/rules I've adopted from various WPF textbooks. Is this an easier way to do this, or should I abandon that goal and simply do things the Telerik way?

Wayne

Vladimir Stoyanov
Telerik team
 answered on 05 Aug 2019
1 answer
132 views

Hello,

im interested in use the Telerik PDF Viewer for also signing a pdf with a pencil. Is it possible the implement such a feature?

 

Best regards,

Thomas

Tanya
Telerik team
 answered on 05 Aug 2019
8 answers
471 views

Hi,

I've been tasking with scrubbing our use of Telerik (which is extensive in our app) for memory usage and possible efficiencies, as customers are concerned about high memory usage of our app, and speed.

RadGridView has been flagged as a likely candidate as a "memory hog" for customers that have over 1,000 records loaded at any given time.

 

Here is a snapshot of our implementation:

<telerik:RadGridView AutomationProperties.Name="EventSummaryGrid" x:Name="EventSummaryGrid" Grid.Row="1" Grid.Column="0"
HeaderRowStyle="{DynamicResource THOR_GridViewHeaderRowStyle}"   
local:GridDependencyProperties.ColumnCollection="{Binding ColumnCollection}"  
IsReadOnly="True" EnableColumnVirtualization="True"
CanUserDeleteRows="False" 
CanUserInsertRows="False"
ShowGroupPanel="True"     
AlternationCount="2"
RowIndicatorVisibility="Collapsed"
AutoExpandGroups="True"
MouseDoubleClick="EventSummaryGrid_MouseDoubleClick" 
ItemsSource="{Binding EventSummaryList}" 
AutoGenerateColumns="False"
RowIsExpandedChanged="EventSummaryGrid_RowIsExpandedChanged"
ScrollViewer.HorizontalScrollBarVisibility="Auto" 
ScrollViewer.VerticalScrollBarVisibility="Auto" 
SelectionMode="Extended" ShowColumnSortIndexes="False"
ClipboardCopyMode="All"
FieldFilterEditorCreated="EventSummaryGrid_FieldFilterEditorCreated" 
Loaded="EventSummaryGrid_Loaded"
Sorting="EventSummaryGrid_Sorting">

                <telerik:RadGridView.Resources>
                    <local:SensorTypeConverter x:Key="SensorTypeConverter" />
                    <local:SensorUnitsConverter x:Key="SensorUnitsConverter" />
                    <local:EventTypeConverter x:Key="EventTypeConverter" />
                    <local:StorageTypeConverter x:Key="StorageTypeConverter" />
                    <local:RecordLengthConverter x:Key="RecordLengthConverter" />
                    <local:SampleRateConverter x:Key="SampleRateConverter" />
                    <local:NoOfChannelsConverter x:Key="NoOfChannelsConverter" />
                    <local:NoUsbOfChannelsConverter x:Key="NoUsbOfChannelsConverter" />
                    <local:NumberOfIntervalsConverter x:Key="NumberOfIntervalsConverter" />
                    <local:DateTimeToStringConverter x:Key="DateTimeToStringConverter" />
                    <local:TriggerConverter x:Key="TriggerConverter" />

                </telerik:RadGridView.Resources>

 

- The grid has 60 columns, and filtering and sorting is on for all of them.

Here is an example of a typical column implementation:

 

                    <telerik:GridViewDataColumn x:Name="FileName" DataMemberBinding="{Binding FileName}" 
Header="{x:Static Resources:Resources.EventManagerView_Column_FileName}"
HeaderTextAlignment="Center" TextWrapping="NoWrap" TextTrimming="WordEllipsis" HeaderTextTrimming="WordEllipsis"
CellStyle="{DynamicResource THOR_GridViewCellStyle}"
            IsVisible="True">
                        <telerik:GridViewDataColumn.HeaderCellStyle>
                            <Style TargetType="telerik:GridViewHeaderCell">
                                <Setter Property="ToolTipService.ToolTip" Value="{x:Static Resources:Resources.EventManagerView_Column_FileName}">
                                </Setter>
                            </Style>
                        </telerik:GridViewDataColumn.HeaderCellStyle>
                    </telerik:GridViewDataColumn>

 

..and we use a child template:

 

<telerik:RadGridView.HierarchyChildTemplate>
<DataTemplate>
<StackPanel Orientation="Vertical">
<telerik:Label Margin="30,0,0,0" FontSize="12" FontWeight="Bold" Content="{x:Static Resources:Resources.Saved_Event_Report_Label}"/>
<telerik:RadGridView x:Name="ReportAnnotationsGrid"
GroupRenderMode="Flat"
BorderThickness="0,1,0,1"
AlternationCount="0"
GridLinesVisibility="None"
CanUserFreezeColumns="False"
AutoGenerateColumns="False"
ItemsSource="{Binding Annotations}"
ShowGroupPanel="False"
ShowColumnHeaders="False"
IsReadOnly="True"
MouseDoubleClick="ReportSelection_MouseDoubleClick"
GotFocus="ReportAnnotationsGrid_GotFocus"
SelectionChanged="ReportSelection_SelectionChanged"
CanUserDeleteRows="False" 
CanUserInsertRows="False"
IsFilteringAllowed="False"
FrozenColumnCount="0" 
FrozenColumnsSplitterVisibility="Collapsed"   
RowIndicatorVisibility="Collapsed"
SelectionMode="Single"
Margin="30,0,0,0">

 

...any suggestions on settings to keep the memory usage to a bare minimum would be appreciated !

Martin Ivanov
Telerik team
 answered on 05 Aug 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?