how to insert data to live data ?
how to give background / fill color in live data chartview ?
void
dataGridView_CurrentCellDirtyStateChanged(object sender, EventArgs e)
{
if
((dataGridView.IsCurrentCellDirty) & (dataGridView.CurrentCell.ColumnIndex == 0))
{
dataGridView.CommitEdit(DataGridViewDataErrorContexts.Commit);
}
}
Hello,
Is it possible to display a RadGridView inside a cell? The grid should take data from cell (data will be splitted by columns and rows, not many, just a couple of rows per cell, 3 columns) I was considering examples of custom cells provided but without success. Could I get any clues how to proceed if it is feasible at all, please?
Thanks
Wojciech
I have several textboxes with the option to show clear button enable but I want to shoe the clear button only when a textbox is active by the user. Can this be done?
How can I get HorizontalScrollingOffset with RadGridView?
I'm trying to refresh the grid and keep the screen in the same horizontal position, I succeeded to do it in vertical position.
Thanks in advance
Amir
I'm opening the sub forms in panel on the main form. The short cut keys are getting focussed only on main form & not getting focussed on sub forms in it.
This is the code to open the sub form in a panel on the main form :
Public Shared Sub ShowForm(form As RadForm, Optional FormType As Integer = 0)
Dim i As Integer
form.TopLevel = False
frmMainMenu.rdpnlchild.Controls.Add(form)
form.BringToFront()
If FormType = 0 Then
form.Show()
ElseIf FormType = 1 Then
form.ShowDialog()
End If
End Sub
The code below does not trigger:
RadDesktopAlert.Popup.DoubleClick += Popup_DoubleClick;
RadDesktopAlert.Popup.AlertElement.DoubleClick += Popup_DoubleClick;
RadDesktopAlert.Popup.AlertElement.CaptionElement.DoubleClick += Popup_DoubleClick;
RadDesktopAlert.Popup.AlertElement.ContentElement.DoubleClick += Popup_DoubleClick;
Is there any way to capture a double click?
Hi,
I need a PropertyGridSpinEditor with a small difference, it must always show 2 digit. Example: "00", "03", "14"..
You can see in the image, i have achieved only when the edition has ended with this code.
Private Sub PropertyGridParams_ItemFormatting(sender As Object, e As UI.PropertyGridItemFormattingEventArgs) Handles PropertyGridParams.ItemFormatting
If (e.Item.Name = NameOf(PROPNAME)) Then
DirectCast(e.VisualElement, PropertyGridItemElement).ValueElement.Text = PROP.ToString(
"00"
)
End If
End Sub
I try it, but doesnt work.
Public Class NumericUpDownEditor
Inherits PropertyGridSpinEditor
Public Overrides Sub OnValueChanged()
If (Me.Value.ToString.Length < 2 AndAlso IsNumeric(Me.Value)) Then
Me.Value = Integer.Parse(Me.Value.ToString()).ToString(
"00"
)
Else
MyBase.OnValueChanged()
End If
End Sub
End Class
Is there any way to achieve that?
Thank you!