Telerik Forums
UI for WPF Forum
5 answers
939 views
Running the latest 2013 version.

I read this:
http://www.telerik.com/help/wpf/radgridview-performance-tips-tricks.html

And it makes sense that a large dataset should be time consuming...
"Binding large dataset to the RadGridView is a time consuming task that can at times test the user’s patience."

I'm binding to 10 items and it takes 62 milliseconds (measured from DataLoading to DataLoaded). However, the control takes around a second to display the items. This makes no sense at all. I have bound to a simple data item with simple dependency properties:

<Window x:Class="Vironova.MiniTem.Views.MyTableWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
        Title="MyTableWindow" Height="700" Width="300">
        <telerik:RadGridView x:Name="radGridView" Width="Auto" Height="Auto" AutoGenerateColumns="False" ItemsSource="{Binding MyViewModel.MyObjects}" SelectionMode="Multiple" DataLoadMode="Asynchronous">
            <telerik:RadGridView.Columns>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding MyType}" Header="Type"/>
                <telerik:GridViewDataColumn DataFormatString="F1" DataMemberBinding="{Binding Value}" Header="Value"/>
            </telerik:RadGridView.Columns>   
        </telerik:RadGridView>
</Window>

MyObjects is an ObservableCollection<>.

Also, when scrolling this list of items (setting the height to a lower value) it lags.

What could be causing this?

UPDATE:
I just realized that all filter functions seem to clear the list. If I sort on the first column, the items go away. I then have to click two times until the sort arrow disappears - then the items are re-populated (after a second of wait).
Dimitrina
Telerik team
 answered on 30 Dec 2013
3 answers
212 views
I was trying to get the "Databinding" tab control demo working that allows you to dynamically add and remove tabs, and I don't see how to set the content for the currently selected tab. This is what I would like to do.

I have a search button. When I press the search button, I want to be able to dynamically add content to the selected tab. The content should remain when the user switches tabs as well(I am assuming for this I just need to set the IsContentPerserved flag). I would like to be able to do this in the code-behind, as I am pulling data with entity framework to populate a user control, which I will then put in the selected tab. How would I do this? Thank you.
Pavel R. Pavlov
Telerik team
 answered on 27 Dec 2013
2 answers
199 views
Hi.

I'm struggling to fit the PivotGrid to my use case and can't seem to find any relevant example.
Basically, I have two group levels, let's say Product Category (first level) and then Product Name (second level, with each category containing one or more products). The Product Sale Amount is the numeric value I need to group on (Sum). The columns of the pivot will be the sale dates, in months. The problem is that products could be in different currencies, but each product is always in the same currency.
Would it be possible to have the Level 2 as "Product Name" + "Currency", as two adjacent columns? I can get the currency as a third level but that is not ideal since I need to unnecessarily expand an extra level.
Also, since it would be incorrect to sum amounts in different currencies, would it be possible to remove (or hide) the "Grand Total" column for Level 1 only?

Many thanks
Domenico
Ventzi
Telerik team
 answered on 27 Dec 2013
1 answer
92 views
Hi,

The default color with Expression DarkTheme is hard to see, how can I easy change that?

Milena
Telerik team
 answered on 27 Dec 2013
2 answers
158 views
Despite looking through the on-line documentation, searching the forums, viewing the examples, searching the Toolbox in the VS2012 IDE and examining the properties for a 2D pie chart I have found nothing on how to create a 3D pie chart.

Can someone please point me in the right direction.
Raymond
Top achievements
Rank 1
 answered on 27 Dec 2013
0 answers
155 views
I have a radmenu inside a grid row that is nested inside Prism regions about 3 deep.
I want the menu to take all the available space in the row that is set to width = *
The menu seems to be setting it's own width, causing all the dynamic layout in the WPF app to croak because the menu is "Sized"
I want the menu to look like a normal menu and fill the rest of the dead space on the right. So when I maximize or resize WPF just does it's magic. In short the menu cannot have any determinate width.

How do I do that?

Never mind, this works:

<Grid><Cell *>
<
StackPanel Orientation="Vertical" HorizontalAlignment="Stretch">
RadMenu Here
</StackPanel>

Eric
Top achievements
Rank 1
 asked on 26 Dec 2013
1 answer
78 views
I have a RadMap control with a VisualizationLayer that I've bound to a collection of model view objects. When I add objects to be displayed on the map and then dynamically change the application's theme (by removing and adding the Telerik ResourceDictionaries) an InvalidOperation Exception is thrown by the VisualizationLayer of the RadMap.

Is this a bug with the Telerik controls or am I doing something wrong? Please see the WPF project that replicates this error uploaded here: https://dl.dropboxusercontent.com/u/22608/MapThemesCrash.zip

Thanks!
Petar Marchev
Telerik team
 answered on 26 Dec 2013
1 answer
39 views
Is it possible to use VirtualQueryableCollectionView with ItemsLoading event to get the data for my current scroll position? Now it looks like it is sending requests to get all data from the begin to my scroll position.
Zarko
Telerik team
 answered on 26 Dec 2013
1 answer
146 views
Hello,

Is it possible to have a tiled layer mechanism as you can do for providers? I currently have a bing map provider, but want to overlay them with a tiled source, ie images served from a webservice according to coordinates and zoomlevel.
So in my case it's not possible to use another provider, as I still need to see the bing maps underneath the (semitransparent) tiled images.
I read in this post  that multiple layered tile providers were not possible, but is planned in a future release.

In Bing maps this was possible using a Microsoft.Maps.MapControl.LocationRectTileSource.
I see i Telerik a class TilesVisualizationLayer, but it says it's for internal use, and I can't find an example of how to use it?

Is this scenario possible in Telerik maps, and if so: could you point me to an example to analyse?

Thank you,
Tom
Tsvetie
Telerik team
 answered on 26 Dec 2013
2 answers
72 views
Hello;

I would like to remove a tile view dynamically in a wpf project using Prism to inject the views as data and look is different per view. It is working when tileviews are created in view model with simple header and content by updating header style and associate a command to the close button,  but this is not working with Prism framework. How can I get the existing tileviewitems in an observable collection and remove one when we click on close or cross button from the differents views (large, small, normal) ?

Thanks for your feedback.
Sam
Top achievements
Rank 1
 answered on 26 Dec 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?