Ok, so we have, like I said above, a scrollable panel, in a page view page and we are using Windows 8 theming in our application. So, when we set all the controls on the form to that theme, any control that is in the Scrollable panel seems to get the back color from the page view page on which the scrollable panel is located instead of the back color from the scrollable panel. This make our controls look weird. Attached is an example of what we are seeing. You will see two scrollable panels, one on the form and the other on a page view page. You can see the differences yourself.
This also happens if you use ThemeResolutionService.ApplicationThemeName = "Windows8" anywhere in our code as well

Hi,
I'm trying to create row of check boxes. To do that I created custom cell element as described in the topic https://docs.telerik.com/devtools/winforms/controls/virtualgrid/cells/creating-custom-cells.
But after form resizing custom cells are displayed in wrong row.
Please find screenshot attached.
Is it a working way to implement row of custom cells in VirtualGrid?
Thank you in advance.


we need to expand the rows based on some condition we have(based on a flag we set). we have tried expanding the rows in both CellFormatting event and ViewCellFormatting event.but it expands only the groups which are in visible. the groups which will be pulled on scrolling the grid are not expanded. please suggest us to fix this issue as it is very high priority for us.

Hi.
Is there a way to get the text box values from the from the objects in my diagram into an array or a list? I would like to use the text box string values of the objects on the diagram values for program logic.
Then i would also like t get all the X and Y coordinates of each object on the diagram into a list that will enable me to write logic based on the position of the X and Y values of my objects in my diagram.
Thank You!
Jacques

Hello,
I'm having some trouble changing the width of the editor for a gridViewComboBoxColumn. I'm using a RadDropDownListEditor. I took a look at this thread: https://www.telerik.com/forums/resize-combobox-27cd57e8088b from several years back but this method still didn't work for me. Below is what I have tried. What am I doing wrong? The dropdownwidth still remains the width of the column no matter what I try.
private void radGridViewDetail_EditorRequired(object sender, EditorRequiredEventArgs e)
{
switch (radGridViewDetail.CurrentColumn.Name)
{
case "CO":
case "CC":
case "Acct":
e.Editor = new RadDropDownListEditor();
break;
}
}
private void radGridViewDetail_CellEditorInitialized(object sender, GridViewCellEventArgs e)
{
if (e.ActiveEditor is RadDropDownListEditor)
{
//RadDropDownListEditor editor = (RadDropDownListEditor)e.ActiveEditor;
RadDropDownListEditor editor = this.radGridViewDetail.ActiveEditor as RadDropDownListEditor;
if (editor != null)
{
RadDropDownListEditorElement element = (RadDropDownListEditorElement)editor.EditorElement;
element.DropDownSizingMode = SizingMode.UpDownAndRightBottom; // This does not work
element.PopupOpened += new EventHandler(editorElement_PopupOpened);
//((RadDropDownListEditorElement)((RadDropDownListEditor)this.radGridViewDetail.ActiveEditor).EditorElement).DropDownSizingMode = SizingMode.RightBottom;
//((RadDropDownListEditorElement)((RadDropDownListEditor)this.radGridViewDetail.ActiveEditor).EditorElement).DropDownMinSize = new Size(200, 100);
//((RadDropDownListEditorElement)((RadDropDownListEditor)this.radGridViewDetail.ActiveEditor).EditorElement).Popup.Width = 200;
element.DropDownMinSize = new Size(200, 100);
element.ArrowButton.Visibility = Telerik.WinControls.ElementVisibility.Collapsed; // This works
//element.AutoCompleteMode = AutoCompleteMode.SuggestAppend; // This isn't needed
element.Popup.Width = 200;
element.DropDownWidth = 200;
switch (radGridViewDetail.CurrentColumn.Name)
{
case "CO":
element.AutoCompleteDataSource = coTable;
element.AutoCompleteDisplayMember = "COMPANY_CODE";
element.AutoCompleteValueMember = "COMPANY_CODE";
element.DropDownWidth = 200;
break;
case "CC":
element.AutoCompleteDataSource = ccTable;
element.DisplayMember = "ADDRESS";
element.ValueMember = "COST_CENTER";
element.AutoCompleteDisplayMember = "ADDRESS";
element.AutoCompleteValueMember = "COST_CENTER";
break;
case "Acct":
element.AutoCompleteDataSource = glTable;
element.DisplayMember = "ACCT_DESC";
element.ValueMember = "GLMAJOR";
element.AutoCompleteDisplayMember = "ACCT_DESC";
element.AutoCompleteValueMember = "GLMAJOR";
break;
}
}
}
}
private void editorElement_PopupOpened(object sender, EventArgs e)
{
((RadDropDownListEditorElement)sender).Popup.MinimumSize = new Size(150, 0);
}
Hi,
I'm trying to limit the size of image inside a RadButtonElement, but after build it returns to original image file size.
I set the Image size in RadButtonElement (in RadRibbonBar) by using the ImagePrimitive properties:
- Click on the smart tag of your RadButton and choose "Edit UI elements"
- In the Control element structure navigate to ImagePrimitive.
- Change MinSize and MaxSize's Height and Width properties to 48 (image size is 225x225 in PNG file type)
- Change ImageLayout to Strech
Theme is "Fluent".
Here is what is generated in the designer file:
this.radButtonElementExecute.AutoSize = false; this.radButtonElementExecute.AutoSizeMode = Telerik.WinControls.RadAutoSizeMode.Auto; this.radButtonElementExecute.AutoToolTip = true; this.radButtonElementExecute.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(229)))), ((int)(((byte)(239)))), ((int)(((byte)(255))))); this.radButtonElementExecute.Bounds = new System.Drawing.Rectangle(0, 0, 57, 69); this.radButtonElementExecute.DefaultSize = new System.Drawing.Size(0, 0); this.radButtonElementExecute.Font = new System.Drawing.Font("Segoe UI", 8.25F); this.radButtonElementExecute.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(21)))), ((int)(((byte)(66)))), ((int)(((byte)(139))))); this.radButtonElementExecute.Image = ((System.Drawing.Image)(resources.GetObject("radButtonElementExecute.Image"))); this.radButtonElementExecute.ImageAlignment = System.Drawing.ContentAlignment.TopCenter; this.radButtonElementExecute.ImageIndex = -1; this.radButtonElementExecute.MaxSize = new System.Drawing.Size(57, 69); this.radButtonElementExecute.MinSize = new System.Drawing.Size(0, 0); this.radButtonElementExecute.Name = "radButtonElementExecute"; this.radButtonElementExecute.StretchHorizontally = false; this.radButtonElementExecute.StretchVertically = false; this.radButtonElementExecute.Text = "Execute"; this.radButtonElementExecute.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter; this.radButtonElementExecute.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.radButtonElementExecute.TextOrientation = System.Windows.Forms.Orientation.Horizontal; this.radButtonElementExecute.ToolTipText = "Execute"; this.radButtonElementExecute.Click += new System.EventHandler(this.radButtonRunExecution_Click); ((Telerik.WinControls.Primitives.ImagePrimitive)(this.radButtonElementExecute.GetChildAt(1).GetChildAt(0))).ImageLayout = System.Windows.Forms.ImageLayout.Stretch; ((Telerik.WinControls.Primitives.ImagePrimitive)(this.radButtonElementExecute.GetChildAt(1).GetChildAt(0))).AutoSize = false; ((Telerik.WinControls.Primitives.ImagePrimitive)(this.radButtonElementExecute.GetChildAt(1).GetChildAt(0))).MinSize = new System.Drawing.Size(48, 48); ((Telerik.WinControls.Primitives.ImagePrimitive)(this.radButtonElementExecute.GetChildAt(1).GetChildAt(0))).MaxSize = new System.Drawing.Size(48, 48);
thanks
Greetings,
How can I get index of checked items , put in lines of a string ?
Imagine I have checked the first , forth and sixth items , so I will have :
1
4
6

This has to be the stupidest question I have ever asked...
..but how to set the value of a RadRadialGauge?
It works OK for me on most of the RadRadialGauge styles available, but on this one, I can't set the value.
( don't know how to describe the option, so I included a screen shot.)
I'm just using the same code as with the other options:
Private Sub redrawGauge()
...
With RadRadialGauge1
.RangeStart = 0
.RangeEnd = 3
.Value = 1
End With
End Sub
What could possibly go wrong?
I can even query he .value property, and it reads-back correctly. What it doesn't do is show visually. It just stays at the maximum value.
What am I doing wrong please?

Hello,
My form is RadRibbonBarForm. Me.HelpButtonClicked cannot be fired when I click the help button in RadRibbonBar.
I found out RadRibbonBar.HelpButton.Click can handle the help button click event.
Does Me.HelpButtonClicked event not work any more in RadRibbonBarForm ?
One more question, why VS doesn't accept the definition of the event:
Private Sub RibbonBtn_Help_Click(sender As Object, e As EventArgs) Handles RadRibbonBar1.HelpButton.Click'---Bla blaEnd Sub
But it accepts only wire the event like this :
Private Sub FrmMain_Load(sender As Object, e As EventArgs) AddHandler RadRibbonBar1.HelpButton.Click, AddressOf RibbonBtn_Help_ClickEnd SubPrivate Sub RibbonBtn_Help_Click(sender As Object, e As EventArgs)'----Bla blaEnd Sub
What's the different ?
Thank you by advance.