Telerik Forums
UI for WPF Forum
2 answers
132 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
251 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
164 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
90 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
119 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
452 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
3 answers
187 views

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

Drago
Telerik team
 answered on 05 Aug 2019
1 answer
171 views

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.

Martin Ivanov
Telerik team
 answered on 05 Aug 2019
3 answers
290 views

 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. 

Peshito
Telerik team
 answered on 05 Aug 2019
2 answers
142 views

Newbie question: my boolean values are stored as int in Sqlite database. I therefore treat them as int in my model and viewmodel, but I want to treat them as boolean (true/false) in my RadDataForm. Is the proper way to do this by implementing IValueConverter, turning autogeneratefields off, defining customized fields via a data template, and applying said converter to all boolean fields? Or is there are quicker approach?

Wayne

n/a
Top achievements
Rank 1
 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
Slider
Expander
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
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
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
VirtualKeyboard
HighlightTextBlock
Security
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?