Telerik Forums
UI for WinForms Forum
1 answer
205 views

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

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 24 Nov 2021
1 answer
174 views

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:

  1. Open VSB
  2. Choose Tools / Gneerate Fluent Theme Variation
  3. Dialog "requires "Fluent" theme to be loaded..." - YES
  4. Error "Failed to import theme package from recource: " (OK)
  5. Empty path name not legal.

What path it it looking for, and where do I set it ?

Thanks

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 23 Nov 2021
1 answer
124 views

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(); 
        }
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 23 Nov 2021
7 answers
623 views
Is it just me or is there a feature missing from the RadControls DateTimePicker that is in the normal DateTimePicker from Microsoft...

I am looking to activate this as shown here. in the RadDateTimePicker

I looked though all the over and over again and was not able to find it.

Thank you
Michael
Top achievements
Rank 1
Iron
 answered on 19 Nov 2021
1 answer
1.0K+ views
(VB.net) I need to open the forms that I have already created in my project within different tabs of a RadTabbedForm, I calculate that it is something simple but I did not find how to do it

It would also be useful for me to know how to open a form within a radPageViewPage tab


Dess | Tech Support Engineer, Principal
Telerik team
 answered on 18 Nov 2021
11 answers
364 views

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.  

Paul
Top achievements
Rank 1
Iron
 answered on 18 Nov 2021
2 answers
182 views

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

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 17 Nov 2021
1 answer
96 views

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?

Dinko | Tech Support Engineer
Telerik team
 answered on 17 Nov 2021
2 answers
148 views

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:

 

Hristo
Telerik team
 answered on 17 Nov 2021
1 answer
1.0K+ views

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.

https://docs.telerik.com/devtools/winforms/visual-studio-integration/adding-radcontrols-to-visual-studio-toolbox

Thanks,

Evan

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 17 Nov 2021
Narrow your results
Selected tags
Tags
GridView
General Discussions
Scheduler and Reminder
Treeview
Dock
RibbonBar
Themes and Visual Style Builder
ChartView
Calendar, DateTimePicker, TimePicker and Clock
DropDownList
Buttons, RadioButton, CheckBox, etc
ComboBox and ListBox (obsolete as of Q2 2010)
ListView
Chart (obsolete as of Q1 2013)
Form
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
Menu
PropertyGrid
RichTextBox (obsolete as of Q3 2014 SP1)
Panelbar (obsolete as of Q2 2010)
PivotGrid and PivotFieldList
Tabstrip (obsolete as of Q2 2010)
MaskedEditBox
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
ProgressBar
CheckedDropDownList
Rotator
TrackBar
MessageBox
SpinEditor
StatusStrip
CheckedListBox
Wizard
ShapedForm
SyntaxEditor
TextBoxControl
LayoutControl
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
DataEntry
GroupBox
ScrollablePanel
WaitingBar
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
ColorBox
Callout
FilterView
PictureBox
VirtualKeyboard
NavigationView
Accessibility
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
Flyout
ToolbarForm
NotifyIcon
Rating
TimeSpanPicker
BarcodeView
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
+? more
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?