Telerik Forums
UI for WPF Forum
0 answers
97 views

Hello dear Telerik Forum.

I have a memory leak problem, where opening views add up in memory, because they are still somehow referenced and thus not GCed.

I've implemented Prism and Telerik both in my application. I've also implemented the ScopedRegionNavigationContentLoader,  the RegionManagerAwareBehavior (and everything else required to open views in new tabs) from Brian (Prism) and the RadTabbedWindow in my MainWindow. So when I execute RequestNavigate from the MainWindow I open new Tabs.

Following happens:

When I execute RequestNavigate commands from the MainWindow I successfully open a new tab which then builds the view, existing of multiple subviews. This works correct so far.

Now when I close the RadTabItems the Views still stay in the memory. It seems there are still references in the RegionManager about the once spawned Regions/Views. Those add up when using the application over hours.

 

So my question is:

How do I unload the Region/View in the RegionManager of the MainWindow when I close the tabs?

I'm looking for a clean and global solution, where I dont have to implement code in every class.

 

 

Extra information:

- There is one RegionManager in the MainWindow, which manages all Tabs and so.

- Each Subview gets its own new RegionManager instance.

 

Anastasios
Top achievements
Rank 1
 updated question on 26 Oct 2023
1 answer
139 views
Hi!
I want to be able to change themes and am setting the Background of RadRichTextBox to a DynamicResource.
That works, but when I set the Foreground to a DynamicResource the color changes only on text changed.

I want the default Foreground to change automatically.

I've attached a project 
Stenly
Telerik team
 answered on 26 Oct 2023
1 answer
209 views

How to disable or overwrite background brush for selection in the TreeView?

What kind of templates I will be need to rewrite? Cause there's template for RadTreeViewItem  but I cannot reach this brush.

Dinko
Telerik team
 answered on 26 Oct 2023
0 answers
115 views

Hi !

I'm newbie on WPF, i don't understand why my RadGridView takes more my screen / user screen when builded.

if i hide or remove RadGridView other elements takes normal size

my columns set to :

* for the first, 80 for 2nd and third (dates)

Joined captures : 

- With/Without RadGridView

 

Thanks  for your help !

 

 

Vincent
Top achievements
Rank 1
Iron
Iron
 asked on 26 Oct 2023
0 answers
88 views

Hello,

 

I am having an issue with RadMultiColumnComboBox. I am having to set to a large width for them to not line wrap. When I select an item it is doing this:

 

How can I prevent it from doing this? The width is more than twice the size of the largest element, and it is set to single select so there is no reason to wrap the text.

Tyler
Top achievements
Rank 1
 asked on 25 Oct 2023
1 answer
163 views

I want to change the background of a merged cell based on the value of another column in the same row. In the SelectStyle method in class MergedCellStyleSelector which inherits from StyleSelector, I can only get the cell value but cannot get the bound entire data item, is there anyway I can get the bound row data item?

Dinko
Telerik team
 answered on 25 Oct 2023
1 answer
100 views

Hey,

as in the title the event doesnt trigger. It does work with the Widget "WidgetContentType = TwoStatesContent".

Im using a custom form for testing: https://pdfhost.io/v/xQU.fKEP6_24_anlage01_bauantrag_2021https://pdfhost.io/edit?doc=5b66dfdd-fafc-4589-bad0-c1608a8ecf1c

Thanks

Dominik


Dimitar
Telerik team
 answered on 24 Oct 2023
1 answer
170 views

Hello Everyone,

I am currently Testing if we can switch from Word to Telerik RadRichTextbox. For that i want to be able to get notifications/events when a User Clicks on a Checkbox. I know there is the DocumentContentChanged event but that fires always and i dont think that ist viable for a document with many Checkboxes.

Is there some Event that would tell me which Control was changed?

Dimitar
Telerik team
 answered on 24 Oct 2023
1 answer
107 views

Hi,

I have a RadGridView, and have added a ColumnGroupDescriptor to `RadGridView.GroupDescriptors`. I have also added an AggregateFunction to `GridViewColumn.AggregateFunctions` for several columns.

The aggregateFunction results are displayed in the grid's footer, each group's footer, and each group's header.

I now want to add an aggregateFunction that, only in the group's header, shows how many rows are in the group. I do not want this result to be shown in any footers.

I understand that this second point could be achieved if I had used GroupDescriptor instead of ColumnGroupDescriptor, however I do still want to be able to add other aggregateFunctions to columns and have these results show in both headers and footers.

 

I have currently attempted this by adding a small prefix to the AggregateFunction's "FunctionName", indicating it should only be shown in group headers; and then modified the GridView template to filter AggregateFunctions by this prefix as needed for headers and footers. However, this is not an elegant solution, so I was wondering what you would recommend.

Thanks, Richard

Martin Ivanov
Telerik team
 answered on 18 Oct 2023
0 answers
124 views

Dear Support Team,

I am using the RadGridView in my application for view and data modification. I would like to add Combobox editor in particular cell based on condition in single column. I cannot find such solution in documentation.

If it is possible then How can i bind the item source to that particular Combobox editor? 

Kindly provide example so I can implement in my project.

 

Thanks & Regards,

Hiren Lad

Hirenkumar
Top achievements
Rank 1
 asked on 18 Oct 2023
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
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
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
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?