I am evaluating RadGridview. I need to create lots of custom editors for my upcoming project. To begin with, I just created a simple texteditor with the following code (I referred you demo code for this) .The issue is, the control losing the first key stroke. Suppose I start to edit a column by typing "John" then the column only showing "ohn".
Did I miss something ??
class MyTextEditor : BaseGridEditor { public RadFormProductList ListForm { get; set; } protected override RadElement CreateEditorElement() { var editor = new MyTextEditorElement(); return editor; } public override object Value { get { MyTextEditorElement editor = (MyTextEditorElement)this.EditorElement; return editor.Text; } set { MyTextEditorElement editor = (MyTextEditorElement)this.EditorElement; if (value != null && value != DBNull.Value) { editor.Text = value.ToString(); } else { editor.Text = ""; } } } } public class MyTextEditorElement : RadTextBoxElement { public MyTextEditorElement() { this.BackColor = Color.White; this.ShowBorder = false; } protected override Type ThemeEffectiveType { get { return typeof(RadTextBoxEditorElement); } } }
I have a scatter series, and setting the Shape to Telerik.WinControls.UI.DiamondShape does not work. It gives me no markers at all.

With this code I get the following (NOT_OK.png)
01.Private Sub RadGridView1_ViewCellFormatting(sender As Object, e As CellFormattingEventArgs) Handles RadGridView1.ViewCellFormatting02. If TypeOf e.CellElement Is GridHeaderCellElement Then03. With e.CellElement04. Dim myFont As New Font(New FontFamily("Calibri"), 10.0F, FontStyle.Bold)05. 06. If InStr(.Text, "IN") > 0 Then07. xColor = Color.FromArgb(150, 54, 52)08. ElseIf InStr(.Text, "OUT") > 0 Then09. xColor = Color.FromArgb(54, 96, 146)10. ElseIf .Text = "Fecha" Then11. xColor = Color.FromArgb(38, 38, 38)12. End If13. 14. .DrawBorder = True15. .DrawFill = True16. 17. .Font = myFont18. .ForeColor = Color.White19. .GradientStyle = GradientStyles.Solid20. .BackColor = xColor21. End With22. Else23. Dim xColor As Color = Color.Red24. Dim xWidth As Integer = 525. With e.CellElement26. '.DrawFill = True27. '.NumberOfColors = 128. '.BorderBoxStyle = BorderBoxStyle.FourBorders29. Select Case .ColumnIndex30. Case 9 '0, 9, 1631. .BorderRightColor = xColor32. .BorderRightWidth = xWidth33. End Select34. End With35. End If36.End Sub
what I need is OK.png
Thank you,

In certain cases, the property builder totally corrupts your windows form and makes the Rad grid unsable, undeletable and un-editable . It happens If you inadvertently click "Open Property Builder" on a RadGridView while your project is running (yes, sometimes you forget it is running and still have the form designer window open), if you try and make some changes to the MasterTemplate and click "Ok" it renames your grid to "MasterTemplate" and makes it unsable, even while your program is running.
The grid then becomes corrupt and you cant delete it or fix it.
Test it by starting a new VB winforms project in VS2015, drag a radgrid onto the form, run the exe in VS and then click on property builder on the rad grid. make a few changes to master template and click ok.
Your form will now be unrecoverably corrupt.


Good day!
It is necessary that the Scheduler worked with MySQL database and not MsAccess. And, preferably, to explain the connection and filling in the data via code and not using the Visual Studio.
Best regards, Me!


Hello,
My colleague and I have recently come across a problem with the way the designer generates code for Telerik controls. The problems happens when both of us are editing the same file at the same time, for instance one of us will use the designer to add some columns to a gridview while the other does the same to a completely different gridview. Everything works fine for each of our environments until it becomes time to check in our code to our TFS, where we run into conflicts of having duplicate names for objects. We noticed that every time one of us adds a column to a gridview using the designer, the auto generated code will name the column "gridViewTextBoxColumn123" where the number at the end is auto incremented from the previous column in our local designer.cs file. With both of us editing things at the same time, it repeats this process, and when we try to merge our code together, obvious conflicts arise where the only way to fix them is to either accept one version of the file and redo missing work, or to take both versions and then tediously go through the file renaming things.
For the time being we have made a pact to check in any designer changes as soon as we make them, so the amount of re-work needed doesn't get too big, but I feel there should be a better way to handle our situation so these naming conflicts don't occur in the first place.
Is there some setting we are missing to allow us to name the objects ourselves, or a better way to work around the problem?
