
Hello people
I want to remove the hour of my date column.
I just have proved these three sentences but It don't work
'dgvCanDev.Columns("Fecha de Cancelación o Devolución").FormatString = "{0:dddd, MMM dd, yyyy}"
'dgvCanDev.Columns("Fecha de Cancelación o Devolución").FormatString = "{0:yyyy/MM/dd}"
'dgvCanDev.Columns("Fecha de Cancelación o Devolución").FormatString = "{0:dd - MM - yyyy}"
My Form
Private Sub Form5_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
Dim tabla3 As New DataTable()
'cancelación y devolución
tabla3.Columns.Add("Código del pedido")
tabla3.Columns.Add("Estado del pedido")
tabla3.Columns.Add("Fecha de Cancelación o Devolución")
tabla3.Columns.Add("Hora de cancelación")
tabla3.Columns.Add("Forma de pago")
dgvCanDev.DataSource = tabla3
'===========================================================
'Modificando el ancho de las columnas
dgvCanDev.Columns("Código del pedido").Width = 140
dgvCanDev.Columns("Estado del pedido").Width = 153
dgvCanDev.Columns("Fecha de Cancelación o Devolución").Width = 210
dgvCanDev.Columns("Hora de cancelación").Width = 150
dgvCanDev.Columns("Forma de pago").Width = 150
'Assing formatting
dgvCanDev.Columns("Fecha de Cancelación o Devolución").FormatString = "{0:dddd, MMM dd, yyyy}"
'dgvCanDev.Columns("Fecha de Cancelación o Devolución").FormatString = "{0:yyyy/MM/dd}"
'dgvCanDev.Columns("Fecha de Cancelación o Devolución").FormatString = "{0:dd - MM - yyyy}"
End Sub
Also I try
Private Sub dgvCanDev_CellFormatting(sender As Object, e As CellFormattingEventArgs) Handles dgvCanDev.CellFormatting
e.CellElement.TextAlignment = ContentAlignment.MiddleCenter
End Sub
I let an image

I have tow Toolwindow at the top of RadDock and other toolWindow at the buttom of RadDock so can i hide a free space between them to have one split line between toolWindows ??
look to Picture .
I am using a Q1 2015 Winforms RadGrid, added a checkbox column, made EnabledHeaderCheckbox = true, added following event and now want to select all rows in the grid when header checkbox is checked, but it is giving object reference error. Here is the code examples -
private void _sampleRadGridView_HeaderCellToggleStateChanged(object sender, GridViewHeaderCellEventArgs e)
{
if (e.State.ToString() == "On")
_sampleRadGridView.SelectAll();
else
_sampleRadGridView.ClearSelection();
}
Please help. Thanks

Hello,
I have two Grid Views with drag and drop behavior. working perfect.
Gesture is enabled on both.
However, When I try to use Touch (on Tablet) to drag row from Grid1 to Grid2 is not working, What am I missing ?
Thank You
Mansi Mansi

I have Error : "Object reference not set" when use with document tab strip object
i want to set the following:
Dim Doctab as New DocumentTabStrip
Doctab.DockManager.Dock=DockStyle.Fill
Bug:
When I use the backspace key in RadRichTextEditor it causes visual artifacts to be left behind. It doesn't matter if I am deleting a selection or just one character. The artifacts disappear as soon as I press or click anything else (including pressing backspace again, on the KeyDown event).
See attached image.
Solution:
The control (or affected visual area) should be invalidated when the backspace key is pressed.
Hack:
I was able to eliminate all artifacts by overriding the KeyDown event and forcing the control to invalidate whenever the backspace key is pressed:
protected override void OnKeyDown(System.Windows.Forms.KeyEventArgs e){ base.OnKeyDown(e); if (e.KeyCode == System.Windows.Forms.Keys.Back) { Invalidate(); }}Hi,
I have a multicol combo with 5 columns and I have enabled filtering on each column :
multiColumnComboElement.EditorControl.EnableFiltering = true;
multiColumnComboElement.EditorControl.ShowHeaderCellButtons = true;
The issue I'm having is that when a user clicks on the OK button in the available filter list (see attached image) the main dropdown closes.
What I would like to happen is when the user clicks OK on the filter button the main drop down is still available but only showing the matching rows.
So for example and using the attached image as reference, if the user checks 19, 21, 30 and clicks OK the main dropdown remains open so the user can select from the filtered rows.
Not explaining this very well, but hope you get the idea.
I have managed to create a work around but its not ideal, basically on dropdown close I cancel if selectedIndex < 0, on dropdownopening I set selectedindex = -1.
Thanks for your help.
Cheers
Shaun
Hello everyone,
After I have updated my UI for WinForms to 2015.1.331.40, I am encountering strange problem with RadCommandBar control. If I create a new project in Visual Studio Community 2013 (VS 2012 Express as well) and drag, lets say, RadGridView into my RadForm everything is ok and i can change control Name as i like. However, as soon as I add RadCommandBar control to my form, if I try to change other control Name property i get following message:
Property value is not valid.
Details:
Unable to cast object of type:
'Telerik.WinControls.UI.RadGridView' to type
'Telerik.WinControls.RadItem'.
Does anyone have the same problem? If i add other controls (except RadCommandBar) everything is working as intended. My colleague is encountering the same problem on his computer (he is working on Win8, I am working on Win7).
Any tips would be appreciated.
Thanks for your time,
Mateusz
