Telerik Forums
UI for WinForms Forum
1 answer
60 views

I have a hierarchical menu of RadMenuItems

Item

   SubItem

       SubSubItem

If I select SubSubItem, is there any way via recursion I could iterate back up the tree to the top Item menu?

I saw a post from 2013 that suggested storing references to the preceding menu item in the Tag property but I'm wondering if there is a better way now to do this?

Thanks

Carl

 

Nadya | Tech Support Engineer
Telerik team
 answered on 03 Apr 2026
1 answer
81 views

1. if i set  MultiSelect = false;     

   after user click

   how can i get current row and it's data

 2. if i set  MultiSelect = true;     

   after user select many rows 

   how can i get these rows and it's data

Nadya | Tech Support Engineer
Telerik team
 answered on 30 Mar 2026
1 answer
73 views

I use a RadDropDownList, I want to give the user the ability to search the items in the drop down so I use the default DropDownStyle = DropDown with AutoCompleteMode = SuggestAppend.

However, I want to ensure that the user selects a valid item from the list and doesn't leave random text. So I created the extension method EnsureValidSelection() below that remembers the original value, and on validation resets it to that original value if no valid value is now selected.

This works well when the ValueMember is an int. But when it's a string, it ignores the code that sets the SelectedValue.

public static void EnsureValidSelection(this RadDropDownList combo)
{
    object originalValue = null;
    combo.Enter += DropDownEnter;
    combo.SelectedValueChanged += DropDownSelectedValueChanged;
    combo.Validated += DropDownValidated;
    return;

    void DropDownEnter(object sender, EventArgs e)
    {
        originalValue = ((RadDropDownList)sender).SelectedValue;
    }

    void DropDownSelectedValueChanged(object sender, EventArgs e)
    {
        if (originalValue != null && combo.SelectedValue != null)
            originalValue = combo.SelectedValue;
    }

    void DropDownValidated(object sender, EventArgs e)
    {
        if (combo.SelectedValue == null)
            combo.SelectedValue = originalValue;
        originalValue = null;
    }
}

Martin Ivanov
Telerik team
 answered on 24 Mar 2026
1 answer
120 views

Hi there, I have three panels and I want to hide the centre panel - how do I do this please?

I don't want to just make it zero width - I would like to hide it totally (including the sizing handle) until I need it.

Here is what I have tried thus far...

Me.mSplitContainer.SplitPanels("panFilter").SplitPanelElement.Visibility = Telerik.WinControls.ElementVisibility.Collapsed

Thank you in advance.

Simon

Nadya | Tech Support Engineer
Telerik team
 answered on 23 Mar 2026
1 answer
118 views

I've got a RadRibbonForm as my main form.  I'd like my users to be able to resize this form - and they can but the border is a single pixel making it nearly impossible to position your mouse over it in order to drag-and-resize.

I've tried creating my own Telerik.WinControls.UI.FormControlBehavior class called "CustomFormControlBehavior" that Inherits Telerik.WinControls.UI.FormControlBehavior with BorderWidth property that looks like this:

Public Overrides ReadOnly Property BorderWidth As Padding
Get
Return New Padding(10)
End Get
End Property

and in my main form's constructor, following InitializeComponent() I've added the following:

        Dim Behavior As Telerik.WinControls.UI.FormControlBehavior = New CARMSCustomRibbonFormBehavior()
        Me.FormBehavior = Behavior

The above code will not execute!

Can you help me resolve how to change the BorderWidth of my RadRibbonForm?  How close was I to the solution!? :)

Kindest regards, all!

-C

 

 

Stenly
Telerik team
 answered on 19 Mar 2026
1 answer
82 views

I'm using the DockWindow on an MDI WinForms app. The Customer Search form is the first one to open.

When I open another form I'd like it to appear to the right of Customer Search. For some reason its appearing to the left.

The code below shows how I open it. Setting the MDIParent adds it to the DocumentWindows collection.

How can I get the Account form to appear to the right of Customer Search. (And any forms opened after that also must appear to the right.)

FormAccount? form = null;
foreach (HostWindow window in this.dock.DockWindows.DocumentWindows)
	if (window.MdiChild is FormAccount)
	{
		FormAccount formCandidate = (FormAccount)window.MdiChild;
		if (formCandidate.BranchId == GlobalServices.Instance.ActiveBranchID && formCandidate.AccountId == (accountId == null ? GlobalServices.Instance.ActiveAccount.NamesId : accountId))
			form = formCandidate;
	}

if (form == null)
{
	form = accountId == null ? new FormAccount(GlobalServices.Instance) : new FormAccount(GlobalServices.Instance, accountId);
	form.AccountId = GlobalServices.Instance.ActiveAccountID;
	form.MdiParent = this;
	form.SetImageAndTitle(ETitleFormat.Account);
	form.AccountFormType = EAccountFormType.Account;
	form.ControlBox = false;
	form.LaunchedFromIPC = launchedFromIPC;
	if (sender == null)
		this.WindowState = FormWindowState.Maximized;
	form.Show();
}

HostWindow hw = App.MainForm.dock.GetHostWindow(form);
if (hw != null)
	dock.ActivateWindow(hw);

Thanks

Carl

Dinko | Tech Support Engineer
Telerik team
 answered on 19 Mar 2026
1 answer
88 views

I may have missed someone already talking about this - but for those of us who like to give our users the ability to select their own "Theme" one ugly issue I'm constantly having to deal with is:  When the user changes their theme, I have to manually change the "look" for every Splitter in my application (400+ WinForm classes, there are probably a few thousand "Splitters")

Is there some technical reason there's no "RadSplitter" in the Telerik WinForms library and if there is not, I'd like to suggest that this be added.  It's a super-commonly used WinForm control, I'm a little shocked it's not already present in this spectacular WInForms UI Library!

p.s. using a SplitContainer is often not possible because of downward compatibility with the older app suits but does make a nice alternative for newer forms.

Kindest regards,

LK

 

Nadya | Tech Support Engineer
Telerik team
 answered on 18 Mar 2026
1 answer
117 views

Hi there,

I would like to add controls to the navigation portion of the Navigation View if possible. I can place controls in front of the Navigation View (see attached image) but I was hoping to be able to add a panel above or below where the Navigation buttons are that will collapse if the Navigation VIew button section is collapsed. Is this at all possible or should I simply place controls in front of the Nav View as I have put in the image.

Thanking you in advance

Simon

Nadya | Tech Support Engineer
Telerik team
 answered on 18 Mar 2026
1 answer
75 views
Hello,

My business application is client-server based.
Client-side: a web client to launch screens with grids.
Server-side: OpenEdge, Bases, Pasoe.

Client-side:
Screen with a binding source: bsUtilisateurChantiers
UtilisateurChantiers table.
Grid: datasource = bsUtilisateurChantier

How do I populate my grid via the BusinessEntity, given that the databases are located on a Linux server?
I have tried the following:
 METHOD PUBLIC VOID InitialisationBE(  ):

        // Run the .p file on PASOE to instantiate the BE and read
        //UTILISATEURCHANTIERS
        gcFiltre= “cod_uti eq ‘” + clsSession:CodUti + “’”.
                
        RUN App/AppBeUtilisateurChantiers.p ON clsSession:hServeur (“INIT”, gcFiltre, INPUT-OUTPUT BeUtilisateurChantiers, INPUT-OUTPUT DATASET dsUtilisateurChantiers).
        RUN App/AppBeUtilisateurChantiers.p ON clsSession:hServeur (“READ”, gcFiltre, INPUT-OUTPUT BeUtilisateurChantiers, INPUT-OUTPUT DATASET dsUtilisateurChantiers).  

but I get this message on the server side, so nothing is being returned:

26/03/13@14:43:25.497+0100] P-050381 T-050421 3 AS-7 AS -- TRACE: Non-PERSISTENT Procedure “App/AppBeUtilisateurChantiers.p” START. (5498)
[26/03/13@14:43:25.497+0100] P-050381 T-050421 1 AS-7 -- (Procedure: “App/AppBeUtilisateurChantiers.p” Line:71) ipcMode= INIT 
[26/03/13@14:43:25.497+0100] P-050381 T-050421 1 AS-7 -- (Procedure: “App/AppBeUtilisateurChantiers.p” Line:71) ipcFiltre= cod_uti eq ‘LTROMBINO’
[26/03/13@14:43:25.498+0100] P-050381 T-050421 1 AS-7 -- (Procedure: “App/AppBeUtilisateurChantiers.p” Line:4294967295) The remote object of class type `Be.beUtilisateurChantiers` cannot be instantiated. (17315)
[26/03/13@14:43:25.498+0100] P-050381 T-050421 3 AS-7 AS -- TRACE: Non-PERSISTENT procedure END ERROR. (8397)
See attachments
        

Dinko | Tech Support Engineer
Telerik team
 answered on 16 Mar 2026
1 answer
146 views

i add 3 RadCollapsiblePanels inside  a SpitPanel as follwing shown

according to  the top two RadCollapsiblePanel's height

i can not add  add RadLavel into RadCollapsiblePanel3

because i can not see the container of RadCollapsiblePanel3 to add radlabel

how can i do ?

Nadya | Tech Support Engineer
Telerik team
 answered on 12 Mar 2026
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?