I want to create a class of RadGroupBox that when I drop my class on a form, that there is no "TEXT" value. We use the GroupBox alot in our system, /w out the HEADER TEXT. So far, my attempts have failed. Here is my GroupBy class.
public sealed class NtsRadGroupBoxNoHeader : RadGroupBox
{
#region Public Constructors
public NtsRadGroupBoxNoHeader()
{
Padding = new System.Windows.Forms.Padding(2);
ThemeClassName = "Telerik.WinControls.UI.RadGroupBox";
Text = string.Empty;
AccessibleName = string.Empty;
AccessibleDescription = string.Empty;
((Telerik.WinControls.Primitives.TextPrimitive)(GetChildAt(0).GetChildAt(1).GetChildAt(2).GetChildAt(1))).Text = string.Empty;
}
#endregion Public Constructors
}
Hi Telerik supportteam,
I’ve found something interesting around filtering combined with a CustomGroupComparer on a RadGridView. To illustrate the situation I added a small example application.
Situation:
Start the application, create a groupBy on e.g. TwoStateCheckbox column, expand some of the groups.
Now, filter on e.g. Name (contains ‘7’).
Result:
All the groups get collapsed.
My own analyses:
With a breakpoint on rule 21 in the CustomGroupComparer, I see that dataGroup.IsExpanded is false, even when the group in the grid is expanded.
With a custom group comparer, Telerik does something with a groupBuilder. It suggests that groups are cloned? If that’s the case I guess the IsExpanded property is not set correctly. Sounds like a bug to me. Can you confirm this and how can I work around this??
By the way: without a customGroupComparer it works ok but we need the custom thing.
Regard,
Daniel Kaya
Hi,
I have just installed the latest update to R3 2022 and notice that the rendering of radio buttons now seems to have an issue when drawn in HDPI.
I have taken these images from the Demo App for Group Box
Example in non HDPI
When application dragged to HDPI 4K monitor
Kind regards, Toby
hi
Why do I want to uncheck all the form checkboxes, but the regular checkbox is done ?!
my code is
void ClearForm(GroupBox control)Greetings,
In order to apply fade-in effect to rad controls (if possible), a nice approach is to increase the opacity of RootElement from 0 to 1 gradually with a timer. It works just fine with most of the rad controls including radbuttons, but there is an issue when I apply this method to a rad group box.
I attached a gif file that illustrates the issue (please notice that the blue background is actually the background of radgroupbox itself, not the container form).
Changing opacity of Radgroupbox.RootElement only affects the border frame of the box, not the whole box itself (background color stays still even with RootElement.Opacity = 0 ).
Any suggestion to fade in a radgroupbox ?
Thanks in advance.
GroupBox dbGroupBox = new GroupBox(); | |
dbGroupBox.Location = new System.Drawing.Point(10, 0); | |
dbGroupBox.Name = databaseInstance + pageName; | |
dbGroupBox.TabIndex = 0; | |
dbGroupBox.TabStop = false; | |
dbGroupBox.Text = pageTitle + " (Possible Matchs)"; | |
dbGroupBox.AutoSize = true; | |
dbGroupBox.AutoSizeMode = AutoSizeMode.GrowOnly; | |
dbGroupBox.Tag = tag.ToString(); | |
dbGroupBox.BackColor = Color.Transparent; |
RadGroupBox dbGroupBox = new RadGroupBox(); | |
dbGroupBox.Location = new System.Drawing.Point(460, groupBoxY); | |
dbGroupBox.Name = databaseInstance + pageName; | |
dbGroupBox.TabIndex = 0; | |
dbGroupBox.TabStop = false; | |
dbGroupBox.Text = pageTitle + " (Possible Matchs)"; | |
dbGroupBox.AutoSize = true; | |
//dbGroupBox.AutoSizeMode = AutoSizeMode.GrowOnly; | |
dbGroupBox.Tag = tag.ToString(); | |
dbGroupBox.BackColor = Color.Transparent; |
Hello,
Some of my groupbox have no header text. I've found out a little spot in place of header in Office2007 theme even there is no header text.
In order to figure out by myself, I've compared most of telerik themes. Please see what I've found in the attach picture.
How can I hide the little spot (or the little blank in some theme)?
Is this normal? Any idea?
Thank you by advance.
Hello,
I have defined my own GroupBox, that inherits the RadGroupBox.
If I apply a Theme, nothing happend.
Button, MaskedEditBox, CheckBox etc. works fine, but not the GroupBox.
Is this an known issue?
Regards
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
RadPanel2.Visible = Not RadPanel2.Visible
End Sub
Dim
RE As RadElement = DirectCast(Me.rgbPharmacyInformation.RootElement.Children(0).Children(1).
Children(2).Children(1), RadElement)
The zeroth child of the root element is the RadGroupBoxElement.
The First child of the RadGroupBoxElement is the GroupBoxHeader element.
The second child of the GroupBoxHesder elelemnt is the ImageAndTextLayoutPanel element.
The first child of the ImageAndTextLayoutPanel element is text.
Looking at the property inspector in VS2010, I see properties for this element and the property I would like to change is the Fioreground color. But what do I cast the "text" element as (In the above code, the "text" can be successfully cast to a RadElement)? How can I get to this property?
Anybody's assistance would be appreciated! Thank you for your time!