Hello,
I created Barcode Column in RadGridView according this article: https://docs.telerik.com/devtools/winforms/knowledge-base/barcode-column-in-gridview
And now I do not know how I can print gridview with Barcode Column.
Can you help me? Thank you
On the gridview when a user enters a filter value, I would like for the background color of that filter to change to a different color (only for the column or columns where a filter has been entered) so that users can quickly see where they entered a filter value.
Currently, if the grid has many columns the user will enter a value (sometimes forget that they did that) and wonder why they have a filtered grid. I know that sounds crazy but end users do that! So, I'd like the Filter Cell Backcolor to be a different color so that it's Obvious that - that particular column has a filter applied to it.
Below, I show the code I'm using in the GridData_ViewCellFormatting event. But the problem is - is that it changes the color for the entire filtering row (across all columns)... whereas I want the back color of the "Filter Cell" to change only for that particular column or columns where a filter has been applied.
It would be greatly appreciated is someone has the answer to solving this 'problem'.
Dim filterDescriptors = GridData.FilterDescriptorsHi. I wrote a program that draws a number of connection (without any shape) in a raddiagram. Now when I click on the connection, some connections get the gear symbol and some don't. Those connections that don't have the symbol appear when I move the start point or end point of the connection. Can you explain why and how I should fix it? Here is a snippet of my code.
Dim theline AsNew RadDiagramConnection With {
.StrokeThickness = 3,
.StartPoint = New Point(10, 10),
.EndPoint = New Point(10, 50),
.Name = 1,
.IsEditable = False,
.IsDraggingEnabled = True,
.BackColor = System.Drawing.Color.LawnGreen
}
RadDiagram1.Items.Add(theline)
I have upgraded my WinForms project to the latest version, as shown in the attached file.
When running the application inside the VS 2022, a dialog box shows with no license.
I tried the suggested resolution from:
https://docs.telerik.com/devtools/winforms/licensing/license-key#downloading-the-license-key
I also downloaded the latest license from my account.
Nothing resolved the problem.
Can you help, please?
Note: My subscription will expire by 20 Sep 2025
Hi
I have a RadGridView populated from a DataSet that has one MasterTemplate and two child templates which is working fine.
The rows from the two child templates are displayed in a RadPageView element in tabs - which has different modes to display I have learnt.
But I want to have all the rows from both child templates displayed one under the other - without having to click through the categories and without headers.
Is that possible?
Hello Telerik Support Team,
i found a solution for using enum values in a grid in the knowledge base:
https://docs.telerik.com/devtools/winforms/knowledge-base/gridview-comboboxcolumn-enum
I tried to adapt it for my purpose:
My enum and column definitions are:
[Flags]
public enum SpartenFlags
{
[Display(Name = "Keine")]
None = 0,
Strom = 1,
Gas = 2,
Wasser = 4,
Abwasser = 8,
Breitband = 16,
[Display(Name = "Fernwärme")]
Fernwaerme = 32
}
gridViewComboBoxColumn2.EnableExpressionEditor = false;
gridViewComboBoxColumn2.FieldName = "Sparten";
gridViewComboBoxColumn2.HeaderText = "Sparten";
gridViewComboBoxColumn2.MinWidth = 25;
gridViewComboBoxColumn2.Name = "Sparten";
gridViewComboBoxColumn2.Width = 45;
gridViewComboBoxColumn2.DataSource = EnumWrapper<TBM_HAProzessPlugin.SpartenFlags>.EnumToList<TBM_HAProzessPlugin.SpartenFlags>();
gridViewComboBoxColumn2.DisplayMember = "Name";
gridViewComboBoxColumn2.ValueMember = "ID";
I override the view with a CustomGridImageCellElement (derived from GridDataCellElement) to display an icon depending on the combination of flag values. This works fine so far. But the filtering only works with single values. I would like to have a checkbox for each flag value and the filtering working correclty for every combination, that includes the checked values. Is there a way to archieve this?
Thank you for your help.
Best Regards,
Stephan
I am sure this is a setting somewhere, but I can't find it for my life. In some cases, we have where Grid columns exceed the width of the visible grid. When that happens, the grid data is centered in the visible area. How can we prevent that?
Any help would be great appreciated.
TIA
I've got a radgridview consisting of approximately 280 rows and 100 columns (some non-visible), made by autogenerating columns based on a dynamic temp-table in the datasource. After opening the query I'm setting for approximately 15 rows the Ispinned property to true:
radGridView...:Rows[i]:PinPosition = Telerik.WinControls.UI.PinnedRowPosition:TOP.
Based on the information the profiler provides, this takes around 7 seconds per call. This is way to slow since the program has to recreate the dynamictemp-table and associated information by querying the database each 30s.
The pinning of the rows is already encapsulated by a beginupdate on the grid table element. Setting certain properties to false of the grid didn't result in a speed up.
What did make the pinning of the rows faster was when the query had less rows.
How could this be faster? Is it possible to pin the rows while the query is retrieving its results or before instead of after?
Hi
I have a GridView with a relational hierarchy of two levels connected via two manual relations and two templates.
gridViewRelation1.ChildColumnNames.Add("AktivitaetVorgang");
gridViewRelation1.ChildTemplate = this.templateFremdeAktivitaetVorgaenge;
gridViewRelation1.ParentTemplate = this.radGridPsz.MasterTemplate;
gridViewRelation1.RelationName = "relationAktivitaetVorgang";
gridViewRelation2.ChildColumnNames.Add("VorgangHandlungsBedarf");
gridViewRelation2.ChildTemplate = this.templateFremdeVorgangHandlungsbedarfe;
gridViewRelation2.ParentTemplate = this.templateFremdeAktivitaetVorgaenge;
gridViewRelation2.RelationName = "relationVorgangHandlungsbedarfe";
this.radGridPsz.Relations.AddRange(new Telerik.WinControls.UI.GridViewRelation[] {
gridViewRelation1,
gridViewRelation2});
The template of the second level is added to the Maintemplate, the template of the third level is added to the template of the second level.
Everything is working fine at first.
But if I save the layout of the grid and reload it after closing and opening the application again (via radGrid.SaveLayout and radGrid.LoadLayout), there are no rows in the third level, although the datasource is the same, and they were there in the beginning.
The rows of the second level do not have childRows although the templates and relations are still there
Hi, my application is built on .NET 4 and Telerik 2023. However, after the update, I have experienced increased lag when loading radGridView
What should I do?