Hello,
I am using a RadSplitButtonElement:
DEFINE PRIVATE VARIABLE BtnAnnulerSplit AS Telerik.WinControls.UI.RadSplitButtonElement NO-UNDO.
and I would like to control the number of items displayed. If there are more than can fit, display a vertical scrollbar; otherwise, do not.
I have written the following code:
DEFINE VARIABLE oMenu AS Telerik.WinControls.UI.RadDropDownMenu NO-UNDO.
DEFINE VARIABLE iItemHeight AS INTEGER NO-UNDO.
oMenu = BtnAnnulerSplit:DropDownMenu.
iItemHeight = 10.
oMenu:Maximum = NEW System.Drawing.Size(0, 20 * iItemHeight).
I do have a size, but no vertical scrollbar, which means I can’t see all the items.
Thank you for your feedback
Translated with DeepL.com (free version)

I must be missing something very basic here. I added a RadToggleSwitch to my form and I want it to slide between On and Off like this:
I would have thought that this code would do it:
radToggleSwitch1.OffElement.Text = "Off"; radToggleSwitch1.OnElement.Text = "On";
However, its appearing like this:
I'm sure I'm missing something simple. Any ideas?
Thanks
Carl

I am using the Telerik Reporting REST Service project to render code-based reports in the WinForms ReportViewer. But I have a problem with this "PREVIEW" button, when the user quickly clicks multiple times while generating the Report. It throws the following exception within the viewer:
I just want to disable the Preview button while the report is still generating, and enable it once the report is fully generated. And I don't want to allow the user to double-click the PREVIEW button(Disable the button immediately on a first click until the report is fully generated).
Please help me fix my issue.
Thanks in advance.

When the RadCheckBox or RadToggleButton control is clicked quickly, an exception will be thrown: System.NullReferenceException: "Object reference not set to an instance of an object."
private void radCheckBox1_ToggleStateChanged(object sender, Telerik.WinControls.UI.StateChangedEventArgs args)
Hi,
I would like to use a set of radio buttons and have them render using the 'button' appearance (i.e. instead of the default circular checkbox appearance). For a normal Winforms System.Windows.Forms.RadioButton control, this is accomplished by setting the RadioButton.Appearance property to 'Button'. However, the Telerik RadRadioButton control does not have that property. How can this be accomplished with the Telerik radio button control?
Thanks!
--Darren

Hi,
how can I remove the arrow button in a RadTabbedForm header (WinForms)? Please see the attached photo
Thanks,
Roy

I have a RadGridView that has its first column(named "Visible") as a CheckBox cell in every row.
I have another CheckBox that toggles all the CheckBoxes in the GridView. In this CheckBox's ToggleStateChanged handler, I am trying to get the checkbox element in the GridView row and toggle its state.
This is what I am trying at the moment:
foreach(var myGridRow in curveGridView.Rows)
{
((GridViewCheckBoxColumn)myGridRow.Cells["Visible"].ColumnInfo).Checked = Telerik.WinControls.Enumerations.ToggleState.On;
}However, I am unable to get the RadCheckBox element in the GridView Row and I cannot toggle the checkbox in the row.
Any help would be greatly appreciated.

Hi,
I want to know information if the button is enabled. I use inspect.exe and for the option 'UI Automation', and the IsEnabled property is always set to true. While for option 'MSAA', IsEnabled is not supported.
How can I check is button enabled or disabled?

Hi there,
I have a RadRibbonBar which contains a RadSplitButton element and I'm using Windows11Compact Theme.
I have set splitBtn.ArrowPosition = Bottom and ImageAlignment and TextAligment = TopCenter.
I want the image and text to be centered on the button but they are both aligned right. I notice this only happens with the Windows11 themes, and only to the RadSplitButton. The DropdownButton image/text is correctly centered, however I need to use the split button as there is an event triggered when the button portion of the control is clicked.
I have tried searching for other alignment properties in the UI Elements and setting them all to TopCenter but that still does not solve the problem.
Is this the expected behaviour/appearance? And is there a way I can have the image and text centered on the control?
I have attached a screenshot of the issue I am experiencing.
Thank you,
Carmen
