Telerik Forums
UI for WPF Forum
1 answer
54 views

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?

Yoan
Telerik team
 answered on 10 Oct 2016
1 answer
85 views

Hi,

Is it possible to drag an appointment from one instance of a ScheduleView and drop it on an other instance?

Thanks

John

Yana
Telerik team
 answered on 10 Oct 2016
3 answers
311 views

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!

Stefan Nenchev
Telerik team
 answered on 10 Oct 2016
1 answer
75 views

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

Martin Ivanov
Telerik team
 answered on 10 Oct 2016
1 answer
223 views

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.

 

movement in the plane
Petar Marchev
Telerik team
 answered on 10 Oct 2016
3 answers
97 views

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

Martin Ivanov
Telerik team
 answered on 10 Oct 2016
0 answers
115 views

Hello,

At this line

  • public DataServiceCollection<CustomerDto> Customers = new DataServiceCollection<CustomerDto>(Container.Customers.IncludeTotalCount());

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>

Paul Schwartzberg
Top achievements
Rank 1
 asked on 07 Oct 2016
1 answer
309 views

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.

 

 

Joel Palmer
Top achievements
Rank 2
 answered on 07 Oct 2016
3 answers
112 views

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; }
 
    }  
}

 

 

Dilyan Traykov
Telerik team
 answered on 07 Oct 2016
1 answer
143 views

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.

 

Martin
Telerik team
 answered on 07 Oct 2016
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
Slider
Expander
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
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
WebCam
CardView
DataBar
Licensing
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
HighlightTextBlock
Security
TouchManager
StepProgressBar
VirtualKeyboard
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?