Telerik Forums
UI for WPF Forum
2 answers
93 views

Hello everyone,

I'm new to Telerik and a quite beginner in C#. I would like to use ChartView to display a real-time value that I read every X milliseconds and add it to the graph. The X-axis should indicate seconds, so each point is defined in terms of X and Y. Several thousand points need to be generated and displayed. The chart should display 3 curves. 1 RealTime curve , 1 Superior Limit that is fixed, 1 Inferior Limit that is fixed.

Could someone help me get started on this? (what structure for the points, adding series). Every help is welcome.

Cheers

Massimo

Massimo
Top achievements
Rank 1
Iron
 updated answer on 13 Feb 2024
0 answers
102 views

I am registering my own command for the editor to handle copy. It works but users have reported intermittent issues which I've finally tracked down but have not been able to figure out a workaround.

editor.KeyBindings.RegisterCommand(Me.CopyCommand, Key.C, modifierKeys:=ModifierKeys.Control)

The issue is that this only works if the user clicks within the cells of the spreadsheet. If they have clicked on the row or column headers to select cells, or the "select all" in the corner without first clicking within the cells, the command is never called. Once they have clicked in the cells it works to click on the headers, but if they click on a control entirely outside of the spreadsheet, then the problem repeats.

I've tried all kinds of workarounds, including key bindings and event handlers for all the key and previewkey events on the editor, the spreadsheet, and even the header controls. None of them are ever called. Something is eating the events.

 

Edit: I should add I removed all other key bindings and also tried different key combinations and it still doesn't work.

Steve
Top achievements
Rank 1
 updated question on 09 Feb 2024
0 answers
98 views

Hi Iam trying to set row numbers in radgrdview as like below.

Please let me know is there any way to do like below.

 

Regards,

Prabhakar k.

Prabhakar
Top achievements
Rank 1
 asked on 09 Feb 2024
1 answer
104 views

I want to use a RadTreeListView but the hierarchy does not contain children of the same type. Can I achieve this using RadTreeListView and have different properties at each hierarchy level?

Thank you!

Stenly
Telerik team
 answered on 08 Feb 2024
1 answer
91 views

Hello,

 

I found row-height setting API in WinForms, like Resizing Rows Programmatically- RadVirtualGrid - Telerik UI for WinForms .

But can't find it for WPF. I can make rows resizable by a user but can't do it programatically.

What I'd like to do is to control row height per cell content height.

 

Thanks.

Hanjo

Dimitar
Telerik team
 answered on 08 Feb 2024
14 answers
303 views
Hi, 

I have a grid that is shown in two different windows...(different windows same grid)
In one of the windows the grid is enabled and the user can edit the grid, but in the other window the grid is disabled.
My problem is that the grid scrollbar is disabled in the window where the grid is disabled...

I read the thread (hence the title on this post) on the forum about someone with a similar issue, but the solution for 
that case, a style targeting the GridViewRow, will not help me I'm afraid.

Is there another way to disable the grid but not the scroll?

Please advice!
Arseni
Top achievements
Rank 1
Iron
 answered on 08 Feb 2024
0 answers
136 views

Hello, 

I am using a RadTreeView component in a WPF application that looks like in the following photo. The hierarchy is: a Category can contain a list of SubCategories and a SubCategory contains a List of Activities that have some properties. I would like to transform my RadTreeView into a RadTreeListView or RadGridVew in order to beneficiate from SelectionUnit property and the navigation between cells from the keyboard but I could not find anything that meets by needs:

a component with cells only on the last level of the hierarchy, to be able to select a cell and edit it  and, if possible, to have a tabular header with details from the last level of the hirarchy.

 

Thank you!

Andreea
Top achievements
Rank 1
Iron
 updated question on 08 Feb 2024
0 answers
125 views

Hi,

I am working with RadGridView of Telerik

Source of the RadGridView is QueryableCollectionView (with OData)

Each column has filter option.

but the filter popup advance contains only "Select All" and not all the values of the column.

What should I do for see all the values in the filter advance?

Thanks

Adiel
Top achievements
Rank 1
 asked on 06 Feb 2024
0 answers
65 views

In my code I have a implemented method which in some cases can append new text for existing archive entry. But when I tried this code it gives me a System.ArgumentException: 'An item with the same key has already been added. Key: dir/file.csv'. This exception occurs in situations when given entryName will be something like this 'dir//file.csv''.  This small difference does not allow archive.GetEntry(entryName) return something else then null.

public void Insert(Stream stream, string entryName, bool append = false)
{
    using var baseStream = FileSystem.FileStream.New(ArchivePath, FileMode.Open, FileAccess.ReadWrite);
    using var archive = new ZipArchive(baseStream, ZipArchiveMode.Update, false, null, compressionSettings, encryptionSettings);

    var entry = archive.GetEntry(entryName); // null
    var entryStream = append
        ? entry?.Open() ?? archive.CreateEntry(entryName).Open() //exception cause already exists
        : archive.CreateEntry(entryName).Open(); 
    stream.Position = 0;
    if (append) entryStream.Seek(0, SeekOrigin.End);
    stream.CopyTo(entryStream);
    entryStream.Flush();
}

 

 

Kostiantyn
Top achievements
Rank 1
Iron
 asked on 06 Feb 2024
0 answers
87 views
I have a RadPane within my application that users can detach to create a floating window through a drag action. I am seeking a method to programmatically re-dock this floating RadPane to its original position within the application's main window, without resorting to dragging it manually. I aim to achieve this re-docking process entirely through code. Furthermore, I prefer a solution that does not involve restoring the layout from a stream, as commonly suggested. Is there a direct approach or function provided by the Telerik UI for WPF library that facilitates this? My objective is to manage the docking state of RadPane programmatically.
Ohad
Top achievements
Rank 3
Bronze
Iron
Iron
 asked on 05 Feb 2024
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
TimeBar
Styling
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
Iron
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
Iron
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?