Telerik Forums
UI for WinForms Forum
1 answer
166 views

Hello community!!!

I want to change the color of "radWaitingBar" dots programmatically.

I tried something like this (I found it into my form designer) but with no luck...

((Telerik.WinControls.UI.WaitingBarSeparatorElement)(this.PatchSwitch_radWaitingBar.GetChildAt(0).GetChildAt(0).GetChildAt(0))).BackColor = System.Drawing.Color.FromArgb(121, 191, 80);
Any idea how can I do this?

Thank you for your time!!!
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 22 Aug 2022
1 answer
206 views

Hi Telerik,

Trying to find trackball behavior, but I actually need to display a horizontal line, that crosses the given ScatterLineSeries  and starts at the corresponding vertical axis. (Attached an example image.)

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 22 Aug 2022
1 answer
152 views

Hello,

Is it possible to prevent RadTreeView entering edit mode when you click on a selected node?  We would still like nodes to be editable but only when the user presses F2 or when we programmatically enter edit mode.

Thanks,

Hayley

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 22 Aug 2022
1 answer
111 views

Hello,

I haven't seen this in the demos or documentation (yet?). is it possible to display bars, lines or sparklines in the cells of a pivot grid ? is this supported by a public method or property? can this be programmed? is this difficult or extensive?

thanks in advance

Rolf Kaleveld

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 22 Aug 2022
0 answers
503 views

Telerik UI for WinForms controls used to be automatically added to Visual Studio's Toolbox during the installation process when using .NET 2.0 (up to 4.8) Framework in your project. This means that the Toolbox population relies on the Telerik WinForms version available in the Global Assembly Cache.

With the introduction of .NET Core/.NET 5 and the WinForms designer, the Toolbox configuration doesn't rely on the GAC anymore and it is not necessary to have an installation of the Telerik UI for WinForms suite. The Toolbox version depends on the installed NuGet package:
https://docs.telerik.com/devtools/winforms/core/core-toolbox-version

There is a known issue that any UserControls/ custom controls don't show up in the toolbox for a VB  project with .NET6.  Even the RadControls are not loaded in the toolbox. 

This seems to be a known issue introduced in Visual Studio 2022 17.3 only for VB project with .NET6. Microsoft are currently working on the issue and I believe that an update will be introduced with the fix: https://developercommunity.visualstudio.com/t/Custom-and-User-Controls-not-shown-in-To/10118197 

 
Dess | Tech Support Engineer, Principal
Telerik team
 updated question on 22 Aug 2022
1 answer
128 views

Is it possible to control only the end of task.

I mean if I don't want the user to modify the start but let him modify the end, is it possible ?

For now I'm just able to set to readOnly the entire task and I want to get control when I let the user modify the task (and which part)

Gerald

Thx

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 22 Aug 2022
1 answer
105 views

Not sure where I can submit a bug report but to replicate...

Create nodes on a RadNodeTree.

DoDragDrop on the node that is drag through NodeDragStart

When Node is dropped onto Scheduler, create the appointment.

This causes the program to flicker a lot and multiple appointments are created.


    Private Sub MyNodeTree_DragStarted(sender As Object, e As RadTreeViewDragEventArgs) Handles MyNodeTree.DragStarted
        If e.Node.Level = 0 Then
            MyNodeTree.DoDragDrop(e.Node, DragDropEffects.All)
        Else
            Return
        End If
    End Sub

    Private Sub RadScheduler1_DragEnter(sender As Object, e As DragEventArgs) Handles RadScheduler1.DragEnter
        If e.Data.GetDataPresent(GetType(RadTreeNode)) = True Then
            e.Effect = DragDropEffects.All
        End If
    End Sub

    Private Sub RadScheduler1_DragDrop(sender As Object, e As DragEventArgs) Handles RadScheduler1.DragDrop
            Dim node As RadTreeNode = e.Data.GetData(GetType(RadTreeNode))
            Dim point As Point = Me.ScheduleCalendar.PointToClient(New Point(e.X, e.Y))
            Dim schedulerCell As SchedulerCellElement = SchedulerUIHelper.GetCellAtPoint(point, Me.ScheduleCalendar)
            If schedulerCell IsNot Nothing Then
                Dim dragObject As String = e.Data.GetDataPresent(GetType(String))
                If dragObject IsNot Nothing Then
                    ScheduleCalendar.Appointments.BeginUpdate()
                    Dim ap As New Appointment(schedulerCell.Date, TimeSpan.FromMinutes(1), node.Name, "")
                    ap.AllDay = True
                    ap.BackgroundId = node.Index + 1
                    Me.ScheduleCalendar.Appointments.Add(ap)
                    ScheduleCalendar.Appointments.EndUpdate()
                End If
            End If

    End Sub

Dinko | Tech Support Engineer
Telerik team
 answered on 19 Aug 2022
1 answer
118 views
Hello community!!!

I am trying to get the "ForeColor" value of a "RadButton" but when it is in "MouseOver" state. Any idea how can I do that?
As you can see in my screenshot, into "Visual Style Builder" I found the "HighlightedForeColor" key for the "MouseOver" state but I don't know how to get this value into my code like I do to the example below for this "RadButton".
        public static Color RGB_Color()
        {
            RadButton Rad_Button = new RadButton();

            RadForm Rad_Form = new RadForm();
            Rad_Form.Controls.Add(Rad_Button);
            Rad_Form.ThemeName = "Office2019Dark";

            Color forecolor = new Color();
            forecolor = Rad_Button.ForeColor;

            Debug.WriteLine("The forecolor is : " + forecolor);
            return forecolor;
        }
Thank you for your time!!!
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 19 Aug 2022
1 answer
107 views

Hello,

if have derived the RadRibbonForm.

If I'm using the derived OwnRibbonForm, the RibbonBar ist locked in designer.
What I have to do?

Regards

Dinko | Tech Support Engineer
Telerik team
 answered on 19 Aug 2022
1 answer
181 views

Hi good morning.

I have made an application which uses the PivotGrid, PivotFieldList and Chartview controls to present the data in the way that an Excel pivot table and chart would.

But I am at a point where the performance of creating the graph is very low compared to Excel.

I comment on the case.

When I add one more field to the PivotGrid in the rows section, the performance to present the graph begins to be slow, in this example that I show I add the "Section" field and to graph it takes 39 seconds.

But if I add a fourth field to that row section of the PivotGrid when plotting the app crashes.

The number of records handled by the PivotGrid is currently 80,000, but with a tendency to grow, the PivotGrid has no problem loading that amount of data.

I know that reading a graph as it is seen is not practical, but the user will manipulate the fields of the PivotGrid until the required information is left, of course with filters included, but while that happens the graph must be updated, but this is not possible because the app crashes, show the image.


 

I did the exercise of getting the table from the database with all 80,000 records and passing it to Excel and making a dynamic table and graph and I was surprised to see that in Excel when adding the "Section" field it took a couple of seconds and when I added a fourth field, it takes six seconds, also the graph is not practical to read, but the important thing here is that in Excel it does not crash and it presents the graph, I show the image of the exercise in Excel.

I would like you to support me in reaching a solution so that the application does not crash when trying to graph such amount of data.

Or is this a limitation of control?, to think of an alternative.

Thanks for your attention.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 18 Aug 2022
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)
Chart (obsolete as of Q1 2013)
Form
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
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
ProgressBar
CheckedDropDownList
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
Styling
Barcode
BindingNavigator
PopupEditor
RibbonForm
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Licensing
Localization
TimePicker
ButtonTextBox
FontDropDownList
BarcodeView
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
DateOnlyPicker
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?