Telerik Forums
UI for WinForms Forum
8 answers
701 views
Hi,

Is there any way to best fit the Radgrids filter popup width? Now when i click filter button , filter popups with available values..If value is long i have to do horizontal scrolling to read the value.I dont want to that..

Thanks
Nadya | Tech Support Engineer
Telerik team
 answered on 12 Oct 2023
1 answer
253 views

In my application, I'm able to bind a TreeView to a Well object in my application through object-relational binding as such:

this.wellTreeView = new RadTreeView();

BindingList<Well> wells = new BindingList<Well>() { well }; this.wellTreeView.DataSource = wells; this.wellTreeView.DisplayMember = "name\\name\\name"; this.wellTreeView.ChildMember = "wells\\layers\\items";

This works and I am able to view the TreeView hierarchy and select the nodes in the form. However, when trying to get the nodes in code, the wellTreeView is empty (0 nodes) and throws an Index out of range error in:

RadTreeNode node = wellTreeView.Nodes[0];

My Well class is defined like so:

public class Well
{
    public string name {get; set;}
    public List<Layer> layers {get; set;}
}

public class Layer
{
    public string name {get; set;};
    public List<Item> items {get; set;}
}

public class Item
{
    public string name {get; set;};
    public decimal length {get; set;}
}

I don't understand why the wellTreeView is empty without any nodes despite being able to view the tree in the form. Surely the well is bound to the TreeView?



Dinko | Tech Support Engineer
Telerik team
 answered on 11 Oct 2023
1 answer
126 views

Hey there!

I wanted to ask if there's a way to visualise, the data from a specific RadGanttView, in a Timeline like the this:

imagem

Thank you.

Dinko | Tech Support Engineer
Telerik team
 answered on 10 Oct 2023
1 answer
202 views

Hey there!

I wanted to ask if there's a way to change the resource height to a fixed value... When i have a low amount of resources it works fine

But when I have a high amount of resources, the object becomes unusable:

I need to be able to define a fixed size for each resource, and if I do that with code I'm using in the first resource  ('SetResourceSize') then every single one of them will have the same small height (accordingly with the monitor of the user).

Is there a way to do that? Maybe by forcing a vertical scroll (something that i tried but didn't managed to do it)?

Dinko | Tech Support Engineer
Telerik team
 answered on 10 Oct 2023
1 answer
119 views
HI.
I trying to create a Connection in RadDiagram  With VB.net
My use case is adding a handler to detect mouse right click on the connection. Although the following code does not give an error, it does not work either.

Blow is my simple test code.

Imports Telerik.WinControls
Imports Telerik.WinControls.UI

Public Class RadForm1

    Private Sub RadForm1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
        Dim con As New RadDiagramConnection
        con.Name = "Telerik_Connection"
        con.StartPoint = New Point(10, 10)
        con.EndPoint = New Point(100, 100)
        con.StrokeThickness = 5
        con.BackColor = Color.Blue
        AddHandler con.MouseClick, AddressOf Con_click

    End Sub

    Private Sub Con_click(ByVal sender As Object, ByVal e As MouseEventArgs)
        If e.Button = MouseButtons.Right Then
            Me.Text = sender.name
        End If
    End Sub
End Class


Dinko | Tech Support Engineer
Telerik team
 answered on 10 Oct 2023
1 answer
138 views

We’re long time Telerik subscribers. I love telerik but but i dread seeing ‘that’ notice that theres a new upgrade to the control set as i know i’ll be fiddling about with source to get things to compile. Winforms. 

Firstly, licx files arent updated with the version number of the new control set. Its a bit concerning, but at least i can do a [search/replace in files ] on old to new version number to fix this quickly.

secondly, when adding to the list of references, which file path should we be searching for an assembly? My solution has many projects and ive found several file paths. Some to the Telerik install directory (eg c:\program files(86)….), one or two from my user\username 🤯many from the lib\telerik directory beneath the solution\project directory.

i think ive finally realised that the update application works by switching out just those references from the old, to the new lib base file path for us. But id like confirmation please.

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 09 Oct 2023
2 answers
165 views

Hello!

I have two questions:

1) I'm trying (without success) to change the background color of my Application Menu (button?) Button on the left side of the Ribbon that opens (in my case) to the Backstage from inside Visual Style Builder.  Can you point me to the correct element please?

2) This one is a little more difficult to explain - I'll be attaching before/after images in case I'm not as clear as I'd like to be.

using RadRibbonForm there are Tabs.  Under the Tabs are Groups.  These groups contain buttons, lists, etc that live on the Ribbon.

I'm trying to set the background color for these groups and while I was successful in doing that, there's an unpleasant space/gap/padding? that surrounds the "group"

How do i remove that gap?  Also, how do i make this fill rectangular?  There should be no 'gradient' going from the background color - to white.

I can make the mods in-code if needed, the best choice would be to learn where to update these properties in Visual Style Builder.

 

Kindest regards,

Curtis.

 

nely
Top achievements
Rank 1
Iron
 answered on 08 Oct 2023
1 answer
134 views
I have a chart with 2 stacked columns in each category but they are right beside each other.  Using your example they show up together but I would like for there to be some space at the location indicated in red on the picture.  It looks like the older chart had an overlap percentage that would have made this happen and the other frameworks have a space property but I have only found a gaplength in Winforms.  Can someone point me to the Space property for a barseries/CategoricalAxis?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 05 Oct 2023
1 answer
135 views

Hi,

I have a grid within a panel and I want to adjust the panel height based on the total height of the grid.

Using this code:


Me.Panel1.Height = Me.grid.TableElement.RowHeight * Me.grid.RowCount + grid.TableElement.TableHeaderHeight + 5

 

It seems to work ok if I use "Fluent" theme but not for "VisualStudio2012Light". I have attached a sample form.

Any explanation for this and how do I fix it?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 04 Oct 2023
4 answers
105 views

Hello, 

Telerik have demo Richtexteditor - Document API project example with 3 buttons (bold, italic and underline) . Can you please send me any example or project how to add there two FlowDirection buttons (LTR and RTL) with toggled states as in the first look realization?

Thank you!

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