Telerik Forums
UI for WinForms Forum
1 answer
116 views

The properties set at design time are not saved.

version : 2019.2.618.40

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

I am having problems understanding how to use this control.   I have already created a form without it, but I can start all over, no problem.  I just find it confusing how to lay it out.    I have attached a screen shot of what I want in the layout control.  Perhaps a short video demonstrating on how to partially construct this layout.  

 

 

Nadya | Tech Support Engineer
Telerik team
 answered on 16 Nov 2020
8 answers
490 views

Dear all,  

Can we formated textboxcolumn in grid with this format ? "XXXX-XX.XX" without maskededitboxcolumn ? 

Thanks Before 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 16 Nov 2020
3 answers
78 views

Just upgraded to R3 and running program I am having the following error:

SearchRowPosition Failed

Telerik.WinControls.UI.SystemRowPosition is not available in the target framework.  Using framework 4.7.2, which is the same I was using in the previous release. 

 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 16 Nov 2020
1 answer
2.2K+ views

We have been slowly moving away from an antiquated system, "Unidata". We have just completed converting the entire ERP system to Winforms with Visual Basic (interface only. it still is pulling data from Unidata). Next year, we will begin converting from Unidata database to MS SQL. In the future, we will move to C#. I proposed to my team to NOT wait, but to use C# when we convert to MS SQL (at the very least all db calls should be in C#). 

We are using VS 2015, .Net 4.7.2, and Telerik WinForms 2019.1.117.40

Before we start the conversion, I would like to move to VS 2019, .Net 5, and the latest Telerik WinForms version 

Here is my question: 

Is there a recommended conversion tool when moving from Visual Basic to C# that works best for Telerik Winforms?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 16 Nov 2020
1 answer
413 views

Hi,

 

In some rows of the grid I need the CHECKBOX to be visible and enabled. How do I do that?

I attach an image.

 

Best regards.

Nadya | Tech Support Engineer
Telerik team
 answered on 12 Nov 2020
3 answers
1.1K+ views
Dear sir/madam,

I am using Telerik Gridview in Winforms. Data is bound to the grid.
I tried to use the CellFormatting event to change the text (that is the visual part) of a particular cell, but it does not work. Changing the value of the cell does work, but that is not wanted.
What I try to achieve is to add some extra text at the end of the text in the cell and add an icon (image) in the cell, without changing the value of the databound item.

Any help is appreciated.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 12 Nov 2020
1 answer
137 views

Hello Telerik staff,

First of all, allow me to thank you for all the help your team has provided me. After implementing custom shapes in my RadDiagram, I discovered that I require to create a connection that allows me to link other connections to it (please, see attached image). I have perused the forum and the documentation, but I have not found any clue that could lead me to a solution.

Thank you very much.

Nadya | Tech Support Engineer
Telerik team
 answered on 12 Nov 2020
1 answer
181 views

Dear Telerik staff,

I am trying to insert a customized connection using the default ConnectorTool into my RadDiagram. However, this seems near impossible because the library does not expose a method to do that, as WPF does (https://www.telerik.com/forums/using-connection-tool-to-draw-custom-connection). Consequently, I decided to create a custom tool, but it is not working. I need a tool that provides the same functionality as the ConnectorTool, but that employs a customized connection that contains its own visual traits and a set of extra properties/variables.
My current code is as follows:

public class CustomTool : ToolBase, IMouseListener
    {
        public CustomTool(string name) : base(name)
        {
            this.Name = name;
        }
        IConnection currentConnection = null;
        Point lastPoint;
        public virtual bool MouseDown(PointerArgs e)
        {
            try
            {
                if (this.ToolService.ActiveTool != null && this.ToolService.ActiveTool.Name.Equals(this.Name))
                {
                     
                    HitTestService hitTestService = MainMenu.getDiagram().ServiceLocator.GetService<IHitTestService>() as HitTestService;
                    
                    if (this.currentConnection == null)
                    {
                        this.currentConnection = new CustomRadDiagramConnection(System.Drawing.Color.FromArgb(150, 45, 90), "test");
                         
                        if (hitTestService.ShapeUnderMouse != null)
                        {
                            this.currentConnection.Source = hitTestService.ShapeUnderMouse; 
                        }
                        this.currentConnection.StartPoint = e.TransformedPoint;
                         
                        this.currentConnection.EndPoint = this.lastPoint = e.TransformedPoint;
                        this.Graph.Items.Add((RadElement)this.currentConnection);
                        hitTestService = null;
                        return true;
                    }
                }
            }
            catch (NullReferenceException)
            {
                MessageBox.Show("Not working");
            }
            return true;
        }
 
        protected override void OnActivated()
        {
            base.OnActivated();
            this.lastPoint = new Point(0, 0);
            this.currentConnection = null;
        }
 
        protected override void OnDeactivated()
        {
            base.OnDeactivated();
            this.ToolService.ActivateTool("Pointer Tool");
            this.Graph.AddConnection(currentConnection);
            //this.Graph.Items.Remove((RadElement)this.currentConnection);
            this.currentConnection = null;
        }
 
        public virtual bool MouseMove(PointerArgs e)
        {
 
            if (this.currentConnection != null && this.IsActive)
            {
                this.currentConnection.EndPoint = this.lastPoint = e.TransformedPoint;
                this.currentConnection.Update();
                return true;
            }
            return false;
        }
        public virtual bool MouseUp(PointerArgs e)
        {
            HitTestService hitTestService = MainMenu.getDiagram().ServiceLocator.GetService<IHitTestService>() as HitTestService;
            if (IsActive)
            {
                if (hitTestService.ShapeUnderMouse != null)
                {
                    this.currentConnection.Target = hitTestService.ShapeUnderMouse;
                }
                this.currentConnection.EndPoint = this.lastPoint;
                this.currentConnection.Update();
                this.DeactivateTool();
                hitTestService = null;
                return true;
            }
            return false;
        }
        public bool MouseDoubleClick(PointerArgs e)
        {
            return false;
        }
    }

 

Thank you

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 12 Nov 2020
4 answers
175 views

I am planning to include two types of radDiagramContainerShape in my project:

1) The first one holds all the shapes that will be created and inserted into the Diagram; hence, it must fill the whole area of the diagram. In other words, it should behave as if it were docked to its parent (radDiagram) in dock.fill mode.
2) The second one will be created each time a "special" shape is instantiated. Then, that shape will be added and locked to it. This container should behave normally with any other shape, but the special one. The special shape must remain fixed to the container.

I have been reviewing the accessible properties and events, but I have not found a way of achieving it yet.

Thank you for your help!

 

Tom
Top achievements
Rank 1
Veteran
 answered on 11 Nov 2020
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
ListView
ComboBox and ListBox (obsolete as of Q2 2010)
Form
Chart (obsolete as of Q1 2013)
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
PropertyGrid
Menu
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
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
Wizard
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
WaitingBar
GroupBox
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
NavigationView
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
TreeMap
StepProgressBar
SplashScreen
Flyout
Separator
SparkLine
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?