Telerik Forums
UI for WinForms Forum
1 answer
140 views

Hi,

I'm trying to adapt this fantastic user control to display a peculiar syntax that we use to let our clients write "code-like" functions.

 

But I'm facing a problem. Our syntax contains symbols like this:

!IF, !ELSE, !OR, !WHEN and so on.

 

I discovered that symbols are not considered part of a word in TryGetClassificationType().

 

I tried a userControl that works with regex and I achieve what I wanted, but telerik comes with styles, Localization, and I'd really love to use RadSyntaxEditor.

 

Thanks in advance for all the help you provide.

 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 02 Feb 2021
4 answers
565 views

Hi,

I'm using the latest Telerik assemblies (2019.2.508.40) and when I utilize the new RadOpenFileDialog it doesn't seem to capture the theme on the form (when executing ShowDialog()). It opens with the normal RadForm look (blue). My theme set on the form is Fluent. I checked the properties on the RadOpenFileDialog, but am not seeing a ThemeName property.

 

RadOpenFileDialog openFileDialog = new RadOpenFileDialog();
DialogResult result = openFileDialog.ShowDialog();

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 02 Feb 2021
2 answers
299 views
How do I change the back color of the select cell and hover over color in the dropdown?
John
Top achievements
Rank 1
Iron
 answered on 01 Feb 2021
1 answer
799 views

     i create DataTable and set to RadListView Datasource

DataTable x = -----------;

radlistview1.datasource = x;

radlistview1.DisplayMember = "Item";
radlistview1.ValueMember = "ID";

how can i add image in ListView (IconeView)

(images addresses in datatable - img column)

 

please help

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 01 Feb 2021
1 answer
1.0K+ views
I have a new project and am using .Net 5.0.  I have a RadForm with a RadTreeView control.  I am trying to get a DataSource selected for a RadTreeView control.  I am expecting the UI at this point to give me the option to add a new DataSource but that is not available.  When I manually add a System.Windows.Forms.BindingSource to the form it is also not listed in the available DataSources.  I am running VS 2019 Version 16.9.0 Preview 3.0 and Telerik 2021.1.122.  Is this the correct behavior at this point?
Hristo
Telerik team
 answered on 01 Feb 2021
3 answers
450 views

I have several panels on a form.  I need to dynamically create a CommandBar (vertical in this case) and place it on a panel.  I then need to reposition this panel and resize the one above so that the entire CommandBar is visible.  I would like to set the size and location of these panels based on the size of the CommandBar, but the Size property does not reflect the size required to display all the added buttons.

The CommandBar in the attached image has 5 button, but only three are visible.  If I knew the size of the CommandBar, I could set the Location of the panel containing the CommandBar and the Height of the panel above it, so that all 5 buttons would be visible.

How can I get the information needed to set the Size and Locations of the two panels as needed to make the dynamically created CommandBar visible.


Todor
Telerik team
 answered on 29 Jan 2021
8 answers
116 views
"RightItems" has several elements of type "RadButtonElement". How to listen for the "MouseEnter" event of the container that contains the "RadButtonElement".
For example, to change the color of "RadButtonElement" when hovering over the container?
Stoyan
Telerik team
 answered on 29 Jan 2021
0 answers
687 views

Only users that have Telerik installation version 2021.1.122 are affected.

Symptoms:

Clients that have Telerik installation version 2021.1.122 can not build successfully .NET Core/.NET 5.0 projects. The following error occurs while compiling the project:

The problem is a missing NuGet fallback folder.

Solution:

You should create the missing ToolboxNuGetPackages folder in the installation folder of the controls, usually at C:\Program Files (x86)\Progress\ToolboxNuGetPackages.

Nadya
Top achievements
Rank 1
Iron
 asked on 28 Jan 2021
1 answer
158 views

Hi,

According to this thread: https://www.telerik.com/forums/how-to-force-series-color

Children collection should be used to set specific color for pie element

radChartView1.Series[0].Children[0].BackColor = Color.Red;

However, I noticed "strange" behavior in data bound mode: As soon as reference to Children is made labels are not shown.

You can see this behavior in sample below:

Uncomment any of 2 lines below and you can see labels are not there

'series.Children(i).BackColor = Color.AntiqueWhite
'Dim point = CType(series.Children(i), DataPointElement)

Simple form with load event:

Imports Telerik.WinControls.UI
 
Public Class Form1
    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
        Dim chart = New RadChartView()
        chart.AreaType = ChartAreaType.Pie
        Me.Controls.Add(chart)
        Dim series = New PieSeries("ValueMember", "CategoryMember")
 
        Dim dataSource = New List(Of DataItem)
        dataSource.Add(New DataItem("10", "test1"))
        dataSource.Add(New DataItem("10", "test2"))
        dataSource.Add(New DataItem("10", "test3"))
        dataSource.Add(New DataItem("10", "test4"))
        series.ShowLabels = True
        series.DataSource = dataSource
 
        For i = 0 To series.Children.Count - 1
            'series.Children(i).BackColor = Color.AntiqueWhite
            'Dim point = CType(series.Children(i), DataPointElement)
        Next
 
        chart.Series.Add(series)
    End Sub
 
End Class

And data object:

Public Class DataItem
    Public Property ValueMember As String
    Public Property CategoryMember As String
 
    Public Sub New (valueM As String, categoryM As String)
        ValueMember = valueM
        CategoryMember = categoryM
    End Sub
 
End Class
Nadya | Tech Support Engineer
Telerik team
 answered on 26 Jan 2021
3 answers
270 views

Hi,

I am using RadChartView to plot a series of points. For each of these points I have a x and y coordinate as well as a standard deviation of the  measurements (each point is in fact a collection of measurements). How can I plot the error bars?

I saw this post explaining the procedure for wpf but I cant find a parallel way of doing it in winforms

https://www.telerik.com/blogs/how-to-create-scatter-error-bars-and-box-plot-series-with-radchart-for-sl-wpf

Sorry for not providing a starting point but I really have no clue of where to start from 

Hristo
Telerik team
 answered on 26 Jan 2021
Narrow your results
Selected tags
Tags
GridView
General Discussions
Scheduler and Reminder
Treeview
Dock
RibbonBar
Themes and Visual Style Builder
ChartView
Calendar, DateTimePicker, TimePicker and Clock
DropDownList
Buttons, RadioButton, CheckBox, etc
ListView
ComboBox and ListBox (obsolete as of Q2 2010)
Form
Chart (obsolete as of Q1 2013)
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
PropertyGrid
Menu
RichTextBox (obsolete as of Q3 2014 SP1)
Panelbar (obsolete as of Q2 2010)
PivotGrid and PivotFieldList
Tabstrip (obsolete as of Q2 2010)
MaskedEditBox
PdfViewer and PdfViewerNavigator
CommandBar
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
Label
AutoCompleteBox
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
Wizard
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
WaitingBar
GroupBox
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
NavigationView
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
TreeMap
StepProgressBar
SplashScreen
Flyout
Separator
SparkLine
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
SmartPasteButton
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?