Telerik Forums
UI for WinForms Forum
1 answer
167 views
hello.

I want to modify radTreeView like Text Editor.
I want to create a new node and enter Edit mode of a new node when I press Enter during Text Editing, and enter Node Edit mode when KeyDown in Node so that I can add text.

Please suggest how to do it.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 18 Jan 2023
1 answer
153 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
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
130 views
Hi,

I have a RadDock set up like the Visual Studio IDE, with a tree view in a tool windows similar to Solution Explorer. I would like to replicate the behaviour in Visual Studio where you can drag a file from the Solution Explorer into the document area to open it. Is it possible to do this with RadDock? Drag an item from a tree view in a tool window into the document container and handle the drop?

Thanks,

Hayley
Maria
Telerik team
 answered on 05 Aug 2022
1 answer
102 views
Greetings, how can I tell the RadTreeView to ignore accent when applying Filter.

the content of my RadTreeView there are nodes that have accents in the text, for example Balance Calculation, and if I search without an accent it does not search for me

How do I tell the TreeView Filter to ignore accents?

Use:
Visual Studio 2022
.Net Framework 4.8
Telerik WinForms 22.1.222.0
Dinko | Tech Support Engineer
Telerik team
 answered on 12 Apr 2022
1 answer
443 views

We use Telerik UI for Winforms extensively in our Windows application.  We have migrated almost all of our UI to use Telerik UI for Winforms but we were using a 2014 release of Telerik.  Last month we updated to the latest (Q1 2022) Telerik UI for Winforms and began converting the last 3 major tree controls in our UI to use the RadTreeView.  The biggest of these tree controls can have a lot of nodes.  Some of our customers will exceed 750000 nodes in their installations.

We have found that when sorting is enabled, especially our custom sort which is necessary for our implementation, the tree control takes a VERY long time to load and also a very long time to repopulate when a leaf node with its children is removed and then re-added.  Of note when we remove/re-add a leaf node is that if I put a breakpoint into our NodeComparer implementation I see that many nodes from all over the tree are being compared.  The comparisons include nodes that are at the root of the tree and were not affected since the node(s) removed were 4 or 5 levels down and restricted in scope to just one sub-collection.  I am very surprised that the RadTreeView re-sorts ALL of the tree nodes rather than just the nodes in the affected collection?

Are there ways to restrict sorting to just the collection affected by the addition/removal of a node?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 03 Mar 2022
1 answer
253 views

I know that when you select a node this event is called.

If you select another node, it is called TWICE.

 

Is there a way to know which it is calling it for (Unselecting or Selecting).

This way I can skip code on the unselecting one and only do code on the newly selected node.

Thanks,

Dinko | Tech Support Engineer
Telerik team
 answered on 18 Feb 2022
1 answer
147 views

Hi

I want to display report using radtreeview controls. Can somebody help me regarding that i am new to radtreeview control. Currently I am using radgridview to display report.

 

 

Thanks 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 01 Feb 2022
3 answers
965 views

Hello,

I followed this thread to add a button on every node of my treeview (https://www.telerik.com/forums/how-to-add-button-in-every-node)
Now, I would like to know if it's possible to stick those buttons on the right side of the tree view.
I tried to use the alignment property of the button but no luck... Any solutions?

Thank you in advance for your help.

Dinko | Tech Support Engineer
Telerik team
 answered on 03 Jan 2022
1 answer
187 views

 

 

I am running Telerik Theme Viewer for WinForm where RadTreeView is not working correctly for Office2019Dark Theme (setup: "Telerik_UI_For_WinForms_2021_3_914_Trial.msi").

Is this a bug or something else?

 

 

 

Dimitar
Telerik team
 answered on 07 Oct 2021
Narrow your results
Selected tags
Tags
GridView
General Discussions
Scheduler and Reminder
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
CheckedDropDownList
ProgressBar
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
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
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
+128 more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?