Telerik Forums
UI for WPF Forum
7 answers
263 views
Hello
     We've noticed on our application that showing a grid for large collections causese the application to use huge ammount of memory and throw OutOfMemory exception.

We've created a demo project cotaining 5 million enties containing two string.
Creating the data context raised memory consumption of the application to 450MB.
Showing the window containing the RadGridView raised memory consumption to 800MB.
All grid rows are set, no infinity/auto exists.

Any ideas?
Dimitrina
Telerik team
 answered on 10 Apr 2014
8 answers
210 views

Hello,
I am using your tileView in my app.
I am using a tile that every item in it is itself a tileView of user controls.
I am having an exception when I switch the itemsource of the outer tile (which effects the inner ones as well as they are binded to it).
The big tile's itemsource is binded to a treeview's itemsource. 
Whenever there is a change in the treeview's collection (the tree has checkboxes the decide which tiles will be visible) I am updating the binding manually (getting the binding expression and updating).
In a converter I convert the collection (a ListCollectionView of the viewmodel class of the user controls, filtered into groups) that I got from the tree to a collection that contains only the groups that are checked in the checkboxes (the groups are the outer tileItems). 
In the converter I copy the collection and delete only the groups that are unchecked (not supposed to be visible).
The user controls within each group are binded to a boolean property that tells the visibility of the items (with a converter).
The problem is that sometimes when I update the binding, I get notification of a tilePositionChanged of the inner tileView (that contains the user controls). 
The position that I get is -1, and that value does not come from my viewmodel (I checked).
Than I get an exception thrown because the tileView tries to put an item's column property to -1.
This does not happen every time, only when checking or unchecking an item and than I refresh the binding of the bigger TileView(which the inner ones are binded to).

I hope you have enough data.
unfortunately i can't attach the code.

Thank you in advanced,
Tamir.

Zarko
Telerik team
 answered on 09 Apr 2014
3 answers
245 views
I'm using WPF/MVVM

For all parent rows that have Employees.Count > 0, I need to have the row details expanded. Can you tell me how to do this. Again, I'm using MVVM and NOT using events. This needs to be done with binding.

Thanks
Yoan
Telerik team
 answered on 09 Apr 2014
1 answer
105 views
Hi all,
I currently have a problem with applying Style for TextBlock when TextBlock is in RadDocking control. I have a simple example below.

- The app will use Windows8Theme

public App()
{
    StyleManager.ApplicationTheme = new Windows8Theme();
}

The TextBlock is set with FontWeight Bold.

<telerik:RadDocking Grid.Row="1" HasDocumentHost="False">
    <telerik:RadSplitContainer Orientation="Horizontal">
        <telerik:RadPaneGroup telerik:ProportionalStackPanel.RelativeSize="200, 200">
            <telerik:RadPane PaneHeaderVisibility="Collapsed">
                <Grid>
                    <TextBlock FontWeight="Bold" Margin="50" Foreground="Green" Text="HIHI" />
                </Grid>
            </telerik:RadPane>
        </telerik:RadPaneGroup>
    </telerik:RadSplitContainer>
</telerik:RadDocking>

In the designer it was correctly displayed

http://i.imgur.com/dRAuixu.png

But in runtime it was not

http://i.imgur.com/F1Cchw1.png

I think that setting ApplicationTheme in App() has overwritten the Style of TextBlock.

Question: What should I do to keep FontWeight of TextBlock from overwriting by StyleManager?

Vladi
Telerik team
 answered on 09 Apr 2014
1 answer
195 views
Hi,
I am having multiple issues around the mini tool bar, the main issue is that when a user uses the select all command(Ctrl + a) this tool bar doesn't show.
Second issue is the tool bar visibility is very temperament so is there anyway to make it permanently visible when there are selected items - and possibly add the ability to move/dock this.
Any help would be appreciated.
Thanks
-Chris
Petya
Telerik team
 answered on 09 Apr 2014
3 answers
124 views
Hi,

I create a custom data template for my appointments and I always have a vertical white bar at the left of each cell (picture enclosed). I would like to know if it's possible to remove it.

Thank's
Alain
Kalin
Telerik team
 answered on 09 Apr 2014
1 answer
94 views
Hi,

I have a UserControl which contain a RadScheduleView with a WeekViewDefinition. In my control, I would like to have a DependencyProperty to set the number of minutes (int) for the MinorTickLength. I would like to know how I can acheive this.

Thank's
Alain
Kalin
Telerik team
 answered on 09 Apr 2014
3 answers
119 views
Hi Telerik,

I want to adjust all my axis values on a radcartesianchart.

See the attached image "before changing y-axis values.JPG" and "after adjusting the y-axis value.JPG".

These images shows a change in the y-axis which is done by draggin the horizontal line up or down.

Is it possible to do something like this using telerik?

Best regards,
Jeppe
Unisense
Top achievements
Rank 1
 answered on 09 Apr 2014
1 answer
371 views
How to get a selected item of a child treeview programmatically 
Martin Ivanov
Telerik team
 answered on 09 Apr 2014
1 answer
216 views
Hi,

I have this scenario: I want to create from code behind some RadDiagrams, then export every diagram to a single PNG image without open and display the raddiagram.

Below there is my two solutions of code which don't  work. IN particular, the stream is always empty.
1)

        var myGraphSource = new GraphSource(); //this contains a list of shapes and connections
       var diagram = new RadDiagram();
       diagram.GraphSource = myGraphSource ;
        diagram.SelectAll();
         using (var stream = new MemoryStream()) {
                       diagram.ExportToImage(stream, margin: new Thickness(0,0,0,0), backgroundBrush: new SolidColorBrush(Colors.White));
                        image = stream.ToArray();
        }      
2) 


                    var diagramViewModel = new DiagramViewModel(myGraphSource);
                    var diagramView = new DiagramView();
                    diagramView.DataContext = diagramViewModel;
    using (var stream = new MemoryStream()) {
                       diagramView.diagram.ExportToImage(stream, margin: new Thickness(0,0,0,0), backgroundBrush: new SolidColorBrush(Colors.White));
                        image = stream.ToArray();
                    }

In both cases the code doesn't work and in the last scenario, I' ve bounded the GraphSource in the xaml. Is there a way to get my issue????
Thanks

Ciro


     
Martin Ivanov
Telerik team
 answered on 08 Apr 2014
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
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
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
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?