Dear all,
Can we formated textboxcolumn in grid with this format ? "XXXX-XX.XX" without maskededitboxcolumn ?
Thanks Before
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.
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?
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.
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.
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
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!
Hi, How can I disable grid scrolling associated with a panning gesture? I would like it just to work when using the grid's scrollbar. So, while a user is panning, e.g. panning vertically up, I do not want the grid to scroll.
Thanks!