Hello. I ask you about real-time chart with viewing of histirical data in http://www.telerik.com/forums/how-to-create-real-time-chart-(radcartesianchart-with-spline-series)-scrolled-or-panned-in-time. You gave me information with example there but this example works poorly. I've tryed to improve the functioning of the chart in the example but to no avail. So I still need RadCartesianChart that can show historical data. Please give me an example of such RadCartesianChart with historical data viewing that works good, if this is possible ofcourse. I need such RadCartesianChart very much. I would be very grateful to you for your help.

Hi simple question, I know you can clear the numeric approach in behind code using something like this
<telerik:RadButton Content="Clear" Command="{Binding ElementName=RMTI,Path=ClearCommand}"/>
But I'm looking for an MVVM approach. Any ideas?
In my viewmodel I would set the NumericTextBox value to null but instead of clearing out, it would go to zero. NumericTextBox Value is of type double?


Hi,
I have GridViewDataColumn with a edit template containing a com:
<telerik:RadButton Command="{Binding DoSomethingCommand}" Focusable="False"</telerik:RadButton>
My button command calls a command hander "MyViewModel.OnDoSomething" method in ViewModel attached to RadGridView row, but I am unable to figure out how to close edit mode after my handler is called. I tried to call CommitEdit() from Click() handler attached to button above. After adding click handler my "MyViewModel.OnDoSomething" is not called anymore.
I could fire new event from MyViewModel.OnDoSomething and intercept this event in View and call CommitEdit from there, but maybe there is a simpler way?
Thanks,
Łukasz
Hi,
I want to load some view in content of pane. The pane is create dynamically to doubleclick on the item's panelbar.
My solution have 2 projects. One for view's and one for model views.
The code from doubleclick is:
private void MenuItemDoubleClick(object sender) { UserMenuTab selectedItem = (sender as UserMenuTab); string propValueTitlu = selectedItem.Titlu.ToString(); if (propValueTitlu != null) { OuterDockPanes.Add(new RadPane { Header = propValueTitlu, Content = " ???? I want to put here the view ", Tag = "DocumentHost" }); } }I dont know how cand I upload the solution for better undestanding...
Thank you.
Installing the Demos failed
Please see att. image
Hello,
we are using the RadRibbonWindow in our WPF Application. Unfortunately, in the current version (2015.1) of the WPF controls, the RadRibbonWindow has a strange Margin on the right Border when Maximized. Also it seems like, that the content on the left is cut. It feels like the position of the Window is not correct. You can see through to the desktop, even when the Window is maximized.
I tried to override the Template but I couldn't find the Margin causing the problem.
I've also tried to use the new Internal Builds, but it wasn't fixed so far. In the 2014 version of the controls, everything worked fine.
The attached screenshot shows an empty appliction where the bug occures. I've changed my background color to black, so you can see it easily.
Best regards

Hello. Just on DialogResult, I'm not wrong! I use System.Windows.Forms.FolderBrowserDialog instance in my WPF MVVM application. Please see the following code from the View Model:
. . . . . . . .using System.Windows.Forms;. . . . . . . .FolderBrowserDialog dialog = new FolderBrowserDialog();DialogResult res = dialog.ShowDialog();if (res == DialogResult.OK){ this.PathToExcelExportRepository = string.Copy(dialog.SelectedPath); this.IsTurnOffExportToExcelSelected = false; this.IsTurnOnExportToExcelSelected = true; . . . . . . . . .}Where IsTurnOffExportToExcelSelected is:
public bool IsTurnOffExportToExcelSelected{ get { return this._isTurnOffExportToExcelSelected; } set { this.SetProperty(ref this._isTurnOffExportToExcelSelected, value); }}and IsTurnOnExportToExcelSelected is:
public bool IsTurnOnExportToExcelSelected{ get { return this._isTurnOnExportToExcelSelected; } set { this.SetProperty(ref this._isTurnOnExportToExcelSelected, value); }}Each one of these properties is binding source fore menu item in the View:
<telerik:RadContextMenu.ContextMenu> <telerik:RadContextMenu> <telerik:RadMenuItem Header="Turn on export to MS Excel" IsCheckable="True" IsChecked="{Binding IsTurnOnExportToExcelSelected, Mode=TwoWay}" Command="{Binding TurnOnExportToExcelCommand}"/> <telerik:RadMenuItem Header="Turn off export to MS Excel" IsCheckable="True" IsChecked="{Binding IsTurnOffExportToExcelSelected, Mode=TwoWay}" Command="{Binding TurnOffExportToExcelCommand}"/> </telerik:RadContextMenu></telerik:RadContextMenu.ContextMenu>here the source code of TurnOnExportToExcelCommand. It turns on export to CSV-file of the values of real-time chart data-points:
// This line is in the View Model constructor.this.TurnOnExportToExcelCommand = new DelegateCommand(this.turnOnExportToExcel);// This is the command definition in the View Model.public DelegateCommand TurnOnExportToExcelCommand { get; private set; }private void turnOnExportToExcel(){ FolderBrowserDialog dialog = new FolderBrowserDialog(); DialogResult res = dialog.ShowDialog(); if (res == DialogResult.OK) { this.PathToExcelExportRepository = string.Copy(dialog.SelectedPath); this.IsTurnOffExportToExcelSelected = false; this.IsTurnOnExportToExcelSelected = true; // Define for which chart (absolute or relative) export to CSV-file is turned on. if (this.IsAbsoluteSplineChartSelected || this.IsAbsoluteBarChartSelected) { // Export of absolute chart data-point to CSV-file: Interlocked.CompareExchange(ref this._isAbsoluteChartDataBeingExported, 1, 0); Task.Factory.StartNew(this.peekAbsoluteDataForExportToCsv, TaskCreationOptions.LongRunning); Task.Factory.StartNew(this.exportToCsvAbsoluteChartPoints, TaskCreationOptions.LongRunning); // Export absolute chart data-point values is turned on. GlobalStaticMembers.ChartsExportToExcelStatus[0] = true; } else if (this.IsComparativeSplineChartSelected || this.IsComparativeBarChartSelected) { // Export of relative chart data-point to CSV-file: Interlocked.CompareExchange(ref this._isComparativeChartDataBeingExported, 1, 0); Task.Factory.StartNew(this.peekComparativeDataForExportToCsv, TaskCreationOptions.LongRunning); Task.Factory.StartNew(this.exportToCsvComparativeChartPoints, TaskCreationOptions.LongRunning); // Export relative chart data-point values is turned on. GlobalStaticMembers.ChartsExportToExcelStatus[1] = true; } }}The condition of if-statement above is satisfied if DialogResult is DialogResult.OK. I verify it to set breakpoint in debugger. But if I click 'Cancel' button in the dialog then the debugger doesn't not show next steps but IsChecked property of IsTurnOnExportToExcelSelected menu item is set to true (the status of IsChecked property of TurnOffExportToMSExcel menu item is not changed). Why is TurnOnExportToMSExcel boolean property set to true if DialogResult is Cancel?