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.
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.
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.
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
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
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
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 !
Hi,
It seems like when we have the Telerik explorer control open and generate a new file into the directory in the App using a StreamReader, the file never appears in the explorer control. It seems that if you add a file to the directory using Windows Explorer, that file will appear immediately in the explorer control, and any files generated with the App suddenly appear as well. Is there an event that Windows Explorer triggers that we are missing? Is there a way to force the explorer control to refresh its files?
If you use the search bar to find the new file it will correctly find it, but as soon as you clear the search, the file will disappear again.
Thanks,
Ryan
We have a WPF application that is using Telerik UI for WPF version 2017.3.913.45. I am making changes to the application and began to use the latest version 2019.1.220.45. The primary reason I used the latest version is grid paging. I have a few questions.
1. Are there compatibility issues if we move our application to the latest version? If so, where can I find a document which outlines those issues? The application compiles fine. I'm concerned about run time issues.
2. Is paging supported in the earlier version (2017.3.913.45 - it appears that it is not)?
3. I did go to the download page to see if the earlier version (2017.3.913.45) has any DLLS that I'm missing which may have the paging functionality. I was not able to find this version in the list to be downloaded. Where can I find that version (in case I would like to use additional functionality)? See the attached screen shot which shows that it is not available in the list.
Thanks.
I am using window 7 version 6.1
I am using 2018.1.220.45 version of telerik.
XAML code :
xmlns:fixed="clr-namespace:Telerik.Windows.Documents.Fixed;assembly=Telerik.Windows.Controls.FixedDocumentViewers"
<Grid.Resources>
<fixed:PdfDocumentSourceValueConverter x:Key="PdfDocumentSourceValueConverter" />
</Grid.Resources>
<telerik:RadPdfViewer DocumentSource="{Binding DocumentSource, Converter={StaticResource PdfDocumentSourceValueConverter},ConverterParameter=ReadOnDemand}" />
Just given the binding for document source and showing it on a new window.
The document remains blank. No exception.
It's working fine on windows 10.
I have also tried the telerik demo application but didn't worked.