Telerik Forums
UI for WPF Forum
8 answers
305 views
Hi everyone, i'm displaying a simple window with a RadRichTextBox and a RadRichTextBoxRibbonUI as a modal dialog. I noticed that each time the modal is shown there's a significant spike in the application's memory usage, memory that never seems to be freed even after the dialog is closed. Eventually if the user opens the dialog enough time he/she receives an OutOfMemoryException.

Any ideas on what can be going on? I'm using version 2013 Q3

Thanks, Gonzalo
Tanya
Telerik team
 answered on 15 Sep 2015
5 answers
191 views

Hello,

I am catching MouseLeftButtonUp event. I select multiple items and then select one item from that multiple selected item (The focus and selection is now in one item). When MouseLeftButtonUp fires, it still displays the multiple selection count in SelectedItems.count. Is it a bug? how to do a work around? Thanks in advance. I am using file version 2015.2.728.45 Telerik.Windows.Controls.dll.

Riyadh
Top achievements
Rank 1
 answered on 15 Sep 2015
2 answers
146 views

Hi,

I have gridview in which I added some common group headers to group the columns logically. Depending on the context some of these logical groups have no data and therefore I hide them in the UI (IsVisible=false on DataLoaded event). On exporting the grid to Excel (.ExportToXlsx method) the Group Headers does not line up with the relevant columns. I put this down to the hidden columns so my solution was to first show all the columns (IsVisible=true), do the export and then hide the relevant empty columns again. However, now none of the group headers are exported.

 I capture the ElementExportingToDocument event and can see a CommonColumnHeaderRow element being exported but no CommonColumnHeaderCell element or the like (next element is HeaderRow).

Any thoughts?

Stefan
Telerik team
 answered on 15 Sep 2015
3 answers
176 views

I have an app used for Dispatch Scheduling.

The scheduler is used by dispatchers to assign appointments for technicians. So in my scheduler, they are grouped by technicians and used the GroupHeaderContentTemplateSelector for my templates whether it be Horizontal or Vertical view.

Most of the time they have lots of technicians in their view. To find one technician, you have to scroll to the left or right or up or down depending on the orientation. 

The task is to provide a way for dispatchers to easily locate the technician by let's say right clicking the scheduler and click Go To ... specific technician. 

It should scroll  to that technician in view.

I have seen an implementation for ScrollViewer where you specify the desired position using the ScrollToHorizontalOffset or ScrollToVerticalOffset. What is the best way to locate a specific technician in my case within the grouping as my parameter? Or any implementation that would help implement the requirement would be great.

 

A sample code is very much appreciated.

 

Thanks!

 

Oksana
Top achievements
Rank 1
Iron
 answered on 14 Sep 2015
1 answer
114 views

I'm using a RadSemicircleNorthGauge and with NumericIndicator.Positions using the telerik:SevenSegsNumberPosition for a digital display inside the gauge.

It is working but I'm getting these kinds of warnings in debug output:

System.Windows.ResourceDictionary Warning: 9 : Resource not found; ResourceKey='SevenSegsSb'
System.Windows.ResourceDictionary Warning: 9 : Resource not found; ResourceKey='SevenSegsSb'
System.Windows.ResourceDictionary Warning: 9 : Resource not found; ResourceKey='SevenSegs7'
System.Windows.ResourceDictionary Warning: 9 : Resource not found; ResourceKey='SevenSegs7'
System.Windows.ResourceDictionary Warning: 9 : Resource not found; ResourceKey='SevenSegs7'

 Any help is appreciated.

 â€‹

Sia
Telerik team
 answered on 14 Sep 2015
10 answers
735 views

Hallo, I have to use ListCollectionView as an ItemsSource for RadListBox and at the same time I have to pass SelectedItems down to my ViewModel. I was trying to use new ListBoxSelectedItemsBehavior.SelectedItemsSource  which is working flawlessly for ObservableCollection<T> as ItemsSource but not at all when using ListCollectionView or CollectionViewSource.

I have modified a sample from github, simply I've added two more collections for SelectedItems and new ListCollectionView and CollectionViewSource with some simple filters as ItemsSource for additional RadListBoxes. Binding directly to SelectedItems works, but in some cases ElementName binding does not work so to have other approach is ​always good.

Attached screenshot is from modified sample and as you can see, SelectedItems from additional listboxes contains only items manually added in constructor and not reflecting changes in selection made in associated control.

I suspect that this is because neither ListCollectionView nor CollectionViewSource is strongly typed collection and CollectionTypeComparerHelper is not detecting that they hold same type as binded SelectedItemsSource collection.

Nasko
Telerik team
 answered on 14 Sep 2015
1 answer
406 views

Hello,

I have a RadTreeView which I need to display inside a combobox and also to be able to sort/filter through it. I can't seem to make it work using your examples from here

http://www.telerik.com/blogs/treeview-in-a-combobox-dropdown-using-radcontrols-for-silverlight and here

http://www.telerik.com/blogs/treeview-in-combobox-take-3-silverlight-3-wpf-and-radcontrols . (they don't seem to work/compile either)

What I did manage was to partly replicate the behaviour I wanted using your Rad​DropDownButton tutorial provided here: http://www.telerik.com/blogs/treeview-in-combobox-with-radcontrols-for-silverlight-or-wpf-final-take

Problem is I really need it to be sortable the way ComboBox is. Can you show me an updated example I can use to make this work?

Nasko
Telerik team
 answered on 14 Sep 2015
1 answer
72 views

I set specific cell background in grid click. But on grid scroll it set
back to default. I perefer not to use EnableRowVirtualization as False.
This is My Code:

<telerik:RadGridView ItemsSource="{Binding PersonList}" Name="grid"
Height="200" PreviewMouseUp="grid_PreviewMouseUp" >

private void grid_PreviewMouseUp(object sender, MouseButtonEventArgs e)
{
    var cell = (sender as RadGridView).CurrentCell;
    cell.Background = Brushes.Aqua;
}

 

Thank​

Ivan Ivanov
Telerik team
 answered on 14 Sep 2015
4 answers
379 views

Hi All

By any chance that I could add a new custom color in to standard color palette please ? 

 I am using RadColorPicker

Thanks in advance
Petar Mladenov
Telerik team
 answered on 14 Sep 2015
1 answer
199 views

In our product we have some buttons in the RadTabControl.AdditionalContent.

These buttons can not be found by UI automation tool, also checking with Inspect.Objects these button and the AdditionalContent are not found.

Is this supported by Telerik or do we do something wrong.

We are running on Windows 7, using telerik WPF version Wpf.40.2014.2.0729.

 Snapshot of the code:

           <telerik:RadTabControl.AdditionalContent >
                <StackPanel Grid.Row="2" Margin="10,2" Orientation="Horizontal" HorizontalAlignment="Right">

                    <!-- Help -->
                    <Button Name="btnHelp" 
                            HorizontalAlignment="Right" 
                            VerticalAlignment="Top" 
                            Margin="0,0,10,0"
                            Command="{Binding Path=ShowHelpCommand}" 
                            Style="{StaticResource HelpButtonStyle}" 
                            Visibility="{Binding HelpButtonVisibility}"
                            ToolTip="{Binding Source={x:Static frameworkResources:XmlTextProvider.Content},XPath=Help/@Header}" />

                    <!-- Logout -->
                    <Button Name="btnLogout"
                            HorizontalAlignment="Right"
                            VerticalAlignment="Top"
                            Margin="0,0,0,0"
                            Command="{Binding Path=LogoutCommand}" 
                            Style="{StaticResource LogOutButtonStyle}" 
                            ToolTip="{Binding Source={x:Static frameworkResources:XmlTextProvider.Content},XPath=Logout/@Header}" />

                </StackPanel>
            </telerik:RadTabControl.AdditionalContent>​

 

 

 

Peshito
Telerik team
 answered on 12 Sep 2015
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
DataPager
PersistenceFramework
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
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?