Hello Telerik,
What is the simple way to use a "classic" DropDown Editor for the PropertyGrid without implementing a converter and the standar value but directly a datasource for the property of an object representing a relation to a collection !
Is it possible to change the items of the PropertyGridDropDownListEditor with event or should I implement a custom editor ?
I haven't seen this case covered in the doc.
Best regards
Marco Guignard
I'm trying to create simple variation on the Fluent theme. (as in article https://docs.telerik.com/devtools/winforms/tools/visual-style-builder/working-with-visual-style-builder/fluent-themes-blending which looks like exactly what I need)
I opened the copy of Visual Style Builder form the /lib...directory in my project, but I can't get further than a loading error.
I choose:
What path it it looking for, and where do I set it ?
Thanks
Hi.
I have two gridviews in a form: Master and Detail. I am trying to set the focus on Detail Grid when the Master grid UserAddedRow Event occurs. I tried with Telerik grids, but, it doesn't work. The focus always stays in the Master grid.
In other question, you answer me with the below code sample, but, this sample shows the Detail grid inside the Master grid. My customer wants to do what I am showing in the PNG attachment, in order to make the fingering fast.
The sample in PNG was developed in native VS DataGridView.
Thanks
Code sample:
DataTable masterTable = new DataTable(); DataTable childTable = new DataTable(); public RadForm1() { InitializeComponent(); masterTable.Columns.Add("Id", typeof(int)); masterTable.Columns.Add("Name", typeof(string)); for (int i = 0; i < 3; i++) { masterTable.Rows.Add(i, "Row" + i); } childTable.Columns.Add("Id", typeof(int)); childTable.Columns.Add("ParentId", typeof(int)); childTable.Columns.Add("Title", typeof(string)); childTable.Columns.Add("Date", typeof(DateTime)); Random rand = new Random(); for (int i = 0; i < 20; i++) { childTable.Rows.Add(i, rand.Next(0, 3), "Child" + i, DateTime.Now.AddDays(i)); } radGridView1.DataSource = masterTable; radGridView1.AutoSizeColumnsMode = GridViewAutoSizeColumnsMode.Fill; GridViewTemplate template = new GridViewTemplate(); template.DataSource = childTable; template.AutoSizeColumnsMode = GridViewAutoSizeColumnsMode.Fill; radGridView1.MasterTemplate.Templates.Add(template); GridViewRelation relation = new GridViewRelation(radGridView1.MasterTemplate); relation.ChildTemplate = template; relation.RelationName = "MasterChild"; relation.ParentColumnNames.Add("Id"); relation.ChildColumnNames.Add("ParentId"); radGridView1.Relations.Add(relation); this.radGridView1.UserAddedRow+=radGridView1_UserAddedRow; } private void radGridView1_UserAddedRow(object sender, GridViewRowEventArgs e) { e.Row.IsExpanded = true; this.radGridView1.CurrentRow = ((GridViewHierarchyRowInfo)e.Row).Views[0].TableAddNewRow; this.radGridView1.CurrentColumn = this.radGridView1.MasterTemplate.Templates[0].Columns[0]; this.radGridView1.BeginEdit(); }
I have the following code in the event
private void mccbSelectTheme_SelectedValueChanged(object sender, EventArgs e)
{
string cc = mccbSelectTheme.EditorControl.CurrentRow.Cells[1].Value.ToString();
}
I keep getting a System.Null reference exception when I click the dropdown arrow.
The control is loaded with2 columns with column 1 not visible.
Dear Team
Please help me in this topic. I love this syntax editor solution, it would save a lot of time once i figure out how to solve this:
I use a language called "ZPL". Its a barcode label descriptor language, similar to CNC, PCL or other coordinate-based languages. The problem is that i pciked up the main commands:
Private Shared ReadOnly Keywords As String() = New String() {"^", "XA", "XD", "FO", "FX", "GB", "XZ", "BY", "FD", "FS"}
But since this language has no space between commands and their first parameter, the syntax editor doesnt make them blue (see the atatched picture)
Is there a way to set such a language syntax?
for example in line #5 the
^FO should be blue,
the 50 is red,
the 173 also red (this is ok on the screenshot)
^FD has to be also blue - this means 'FIELD DATA', means: text starts here
^FS this is blue (already ok) - this means theis is the end of the text
Pleas help
Thanks
Peter
I'd like to be able to display a tooltip containing the full name of the person when the user hovers the mouse over the UserInfo Elements of a task card.
Is there a way this can be accomplished?
I am testing Telerik controls for a project under VS2022 and WinForms .NET Core 6.
There does not seem to be a way to add items to the bar, or am I missing something? Shouldn't there be a button to add Items as in the sample documentation videos/screenshot?
this is what I was expecting looking up Telerik documentation:
Hi-
I downloaded Visual Studio 2022 onto a laptop which has Telerik Winforms controls installed (mostly used in VS 2019 currently). What's the best way to make the controls available in 2022? I've searched and found a couple of articles, but none has specifically addressed the new IDE version.
Also, this one makes the controls appear in the toolbox, but I can't get them to drop onto forms.
Thanks,
Evan