How can I hide the lines between the rows? (I use Office2019 theme)
I already tried this:
private void RadGridView_CellFormatting(object sender, CellFormattingEventArgs e)
{
e.CellElement.DrawBorder = false;
}
Gridlines are gone but the horizontal lines are still there.
Hi Team,
In Our application we are using the Telerik RadGridview, in that while we navigating the Next icon in the condition of there is no entries the Grid headers are not displaying. It Should show like the ScreenShot. I have added the video for your reference. Please do the needful.
Video link : https://ttprivatenew.s3.amazonaws.com/pulse/suganya-gmail/attachments/17976581/TinyTake27-09-2021-02-48-42.mp4
ScreenShot : https://prnt.sc/1ttpo5j
Hello,
I would like to use the virtualKeyboardForm in a WinForms application on a tablet. I would like to know if it's possible to fire event when pressing specific keys.
For example: if I click on the cross in the top right corner of the virtualKeyboardForm, I want that the associated textbox is not focused anymore. Or that if I click on Enter, the keyboardform will close automatically and the associated textbox loses its focus.
Is there a possibility to achieve this?
Thank you in advance and have a nice day!
Hello,
I am trying to get the screentip with a rounded corner. I have changed the Shape to RoundRectShape. Although, the shape is now rounded rect, but I still see the corner is painted with some other color.
Below is the code of my custom screentipelement
Padding = new Padding(4, 0, 4, 0);
ForeColor = Color.White;
Shape = new RoundRectShape(4);
ScreenTipFill.GradientStyle = GradientStyles.Solid;
ScreenTipFill.BackColor = Color.Blue;
ScreenTipBorder.BoxStyle = BorderBoxStyle.SingleBorder;
ScreenTipBorder.ForeColor = Color.Blue;
This is my output
Thanks
Hello,
I use a event View_CreateCell to set custom filter cell element but the event not fire for all columns in grid. How can I change that?
private void ListaPlikowRadGridView_CreateCell(object sender, GridViewCreateCellEventArgs e)
{
if (e.CellType == typeof(GridSearchCellElement))
{
e.CellType = typeof(MyGridSearchCellElement);
}
if (e.CellType == typeof(GridFilterCellElement) && e.Column.GetType() != typeof(GridViewTextBoxColumn))
{
e.CellElement = new CustomGridFilterCellElement(e.Column as GridViewDataColumn, e.Row);
}
}
Hello everyone,
I have a little problem with the property StartPosition of a radForm.
When I create a radForm which will be opened with ShowDialog as a modal window at runtime, the start position CenterScreen is not applied. Depending on the size I choose, the modal is sometimes not even fully visible on the screen. How can I resolve this?
I've uploaded a test project which shows the problem:
Thank you in advance and have a nice week!
Hi
I have added points to RadMap and on each point I have placed an image and a text (as shown in the attached screenshot image).
My questions
1) can I move the text below the point because it is currently on top of the added image ?
2) can I add a background color to the text to make sure it is visible to end users?
The code I am using is below:
PointG racheer = new PointG(Latitude, Longitude);Hi.
Is it possible to set the CheckState of a parent node independently of how the child nodes are set? In my code, it won't let me change the state if there are different states in child node.
Here's the code, just a simple form with a RadTreeView named "tree" on it:
Imports Telerik.WinControls
Imports Telerik.WinControls.UI
Public Class frmTest
Private Sub frmTest_Load(sender As Object, e As EventArgs) Handles Me.Load
Me.tree.CheckBoxes = True
Me.tree.AutoCheckChildNodes = False
Me.tree.TriStateMode = True
For i As Integer = 1 To 2
Dim node As New RadTreeNode("Parent " + i.ToString)
Me.tree.Nodes.Add(node)
For j As Integer = 1 To 3
node.Nodes.Add("Child " + j.ToString)
Next
Next
Me.tree.ExpandAll()
End Sub
Private Sub tree_NodeMouseClick(sender As Object, e As RadTreeViewMouseEventArgs) Handles tree.NodeMouseClick
e.Node.Current = True
Select Case e.Node.CheckState
Case Enumerations.ToggleState.On
e.Node.CheckState = Enumerations.ToggleState.Off
Case Enumerations.ToggleState.Off
e.Node.CheckState = Enumerations.ToggleState.Indeterminate
Case Enumerations.ToggleState.Indeterminate
'won't change the state on a parent node if not all child nodes are checked!
e.Node.CheckState = Enumerations.ToggleState.On
End Select
e.Node.Current = False
End Sub
Private Sub tree_NodeCheckedChanging(sender As Object, e As RadTreeViewCancelEventArgs) Handles tree.NodeCheckedChanging
If Not e.Node.Current Then
e.Cancel = True
End If
End Sub
End Class