I have a new window opening with a gridview. It had been displaying my footer aggregates fine until the latest update. Since then the aggregates do not display until I sort one of the columns. I did try calling the CalculateAggregates function on the Window_Loaded event but that didn't seem to help.
Any other ideas on how to solve this issue?
Hi,
Is it possible to drag an appointment from one instance of a ScheduleView and drop it on an other instance?
Thanks
John
Hello
We want to use grid in our WPF project which must looks like grid on picture in attachments.
We want to do merging by multiple rows on equals. For example we want to do merge the same values in first column then, in this range we want to merge by third column. Something like GroupBy("Column1").ThenBy("Column2").
I don't find any grid in your demos, which can help us to solve this problems.
Could you possibly prompt your product, which can do this things and demos for it if they are exist.
Thank you. Have a nice day!
Hello,
Is there an easy way to link a RadPivotGrid to a RadPieChart, in a similar way to the RadCartesianChart described here: http://docs.telerik.com/devtools/wpf/controls/radpivotgrid/features/radchartview-integration?
Thanks,
Richard
Hi,
Can I add a "circular grid" to a chart?
I must draw a "Polar chart" that is not a real polar chart but is a "movement in a plane chart".
It is a standard scatter line in a standard scatter chart where each point is X and Y coordinate at time T.
I want to show as background an "ellipse grid" that show distance by the origin.
I hope this is clear...
Thanks
marc.
how to make the beginning and end label of Y-Axis editable (if could assgin a template to edit, it will be nicer)
Thank you
Hello,
At this line
in the code below i am getting the ContextSwitchDeadlock exception when loading 100 000 to VirtualQueryableCollectionView using an OData v4 rest service. The VirtualQueryableCollectionView is boud to the ItemsSource of the RadGridControl
If i deactivate ContextSwitchDeadlock in the Exception Settngs of VS2015 it just takes 10 - 15 minutes for the rows "to load".
Why is this?
Why the ContextSwitchDeadlock (how would i prevent it)??
I thought the idea of VirtualQueryableCollectionView is that it returns in a jiffy (isnt that what data virtualisation is about?) with a couple hundred rows, and then loads the rest as we scroll. It shouldnt take 10 - 15 minutes just to start up.
I would like to reactivate ContextSwitchDeadlock Exception Setting in VS2015 and debug without the exception being raised.
Any ideas on how to go about it?
Also i would like to solve the issue of the long load time - that isnt data virtualisation. What causes it? How to solve it? Should i rather use the DataServiceDataSource? Is the VirtualQueryableCollectionView is wrong candidate for loading large quantities of data in small bites?
If a full demo of the VS2015 solution is needed to answer this, you can download here (use the Inserting10000Customers.sql file in it to the Customer SQL Express table with 100 000 rows), at: https://app.box.com/s/73dufnlkf63se19ehhzfzz6upevbn92m
Hope someone at Telerik or someone who knows answers.
Paul S.
nb. removing IncludeTotalCount() doesnt change the problem.
public
partial
class
MainWindow
{
private
static
readonly
Container Container =
new
Container(
new
Uri(
"http://localhost:21026/"
)); //http://localhost:21026/
public
DataServiceCollection<CustomerDto> Customers =
new
DataServiceCollection<CustomerDto>(Container.Customers.IncludeTotalCount());
public
MainWindow()
{
InitializeComponent();
IQueryable<CustomerDto> test = Customers.OrderBy(o => o.Name).AsQueryable();
var source =
new
VirtualQueryableCollectionView(test) { LoadSize = 1000 };
// source.ItemsLoading += Source_ItemsLoading;
DataContext = source;
}
private
void
Source_ItemsLoading(
object
sender, VirtualQueryableCollectionViewItemsLoadingEventArgs e)
{ }
}
}
<
Window
x:Class
=
"ODataAndAutoMapper.Telerik.UI.MainWindow"
xmlns:controls
=
"http://schemas.telerik.com/2008/xaml/presentation"
mc:Ignorable
=
"d"
>
<
Grid
>
<
controls:RadGridView
ItemsSource
=
"{Binding}"
FilteringMode
=
"FilterRow"
/>
</
Grid
>
</
Window
>
I have a simple RadTreeView that is defined like this:
<
telerik:RadTreeView
x:Name
=
"contextTree"
Margin
=
"8"
ItemsSource
=
"{Binding Hierarchy, Mode=TwoWay}"
>
<
telerik:RadTreeView.ItemTemplate
>
<
HierarchicalDataTemplate
ItemsSource
=
"{Binding Children}"
>
<
TextBlock
Text
=
"{Binding Name}"
/>
</
HierarchicalDataTemplate
>
</
telerik:RadTreeView.ItemTemplate
>
</
telerik:RadTreeView
>
My Hierarchy is an ObservableCollection of a HierarchyContext object that has an ID, Name, Role, ParentID and Children properties.
I would like to have all nodes in the collection Expanded by default. I'd also like to be able to control if each node is expanded through Code. I assume I'd need to add a "IsExpanded" bool? property to my object but, can you give me an example of how to do this?
Thanks, Joel.
Hello Telerik,
I am having a very strange issue when clicking on a row of a grouped grid populated by a VirtualQueryableCollectionView object
It turns out it duplicates itself.
I simulated it in the most simple solution I could think of. Check the attached pictures.
Please heIp me find a workaround for this issue.
The database I used contains only one table, having 4 rows on it.
And here is my code:
MainWindow.xaml
<
Window
x:Class
=
"GroupingRowClickIssue.MainWindow"
xmlns:local
=
"clr-namespace:GroupingRowClickIssue"
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
mc:Ignorable
=
"d"
Loaded
=
"Window_Loaded"
Title
=
"MainWindow"
Height
=
"350"
Width
=
"525"
>
<
Grid
>
<
telerik:RadGridView
Name
=
"RadGridView"
ItemsSource
=
"{Binding View}"
AutoGenerateColumns
=
"False"
>
<
telerik:RadGridView.Columns
>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding Name}"
/>
<
telerik:GridViewDataColumn
DataMemberBinding
=
"{Binding Type}"
/>
</
telerik:RadGridView.Columns
>
</
telerik:RadGridView
>
</
Grid
>
</
Window
>
MainWindow.xaml.cs
using
System.Windows;
using
TelerikVirtualization;
namespace
GroupingRowClickIssue
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public
partial
class
MainWindow : Window
{
public
MainWindow()
{
InitializeComponent();
DataContext =
new
ViewModel();
}
private
void
Window_Loaded(
object
sender, RoutedEventArgs e)
{
((ViewModel)DataContext).Load();
}
}
}
ViewModel.cs
using
PropertyChanged;
using
Telerik.Windows.Data;
namespace
TelerikVirtualization
{
[ImplementPropertyChanged]
public
class
ViewModel
{
public
VirtualQueryableCollectionView View {
get
;
set
; }
Controller controller;
public
ViewModel()
{
controller =
new
Controller();
}
public
void
Load()
{
View = controller.GetUsers();
}
}
}
Controller.cs
using
GroupingRowClickIssue;
using
System.Data;
using
System.Linq;
using
Telerik.Windows.Data;
namespace
TelerikVirtualization
{
public
class
Controller
{
public
VirtualQueryableCollectionView GetUsers()
{
DataClasses1DataContext db =
new
DataClasses1DataContext(
"Application Name=test;Data Source=WS-VRC;Initial Catalog=SimpleDB;User ID=sa;Password=App12345"
);
var data = from item
in
db.SimpleTables
select
new
User
{
Name = item.Name,
Type = item.Type
};
VirtualQueryableCollectionView view =
new
VirtualQueryableCollectionView(data) { LoadSize = 30, VirtualItemCount = data.Count() };
return
view;
}
}
public
class
User
{
public
string
Name {
get
;
set
; }
public
string
Type {
get
;
set
; }
}
}
We would like to disable the Undo feature of the TextBoxes that are auto-created for string properties.
It interferes with our global Ctrl+Z undo command when the TextBox in the PropertyGrid are keyboard focused.
Thanks.