Hi,
When modifying the value in the column, eg "Start", I need the control that supports entering the date to be displayed in the ShortDateString mode.
I tried to capture a control in the ControlAdded event, but I am capturing the HostedTextBoxBase, not the DateTimePicker.
Jack
When modifying the value in the column, eg "Start", I need the control that supports entering the date to be displayed in the ShortDateString mode.
I tried to capture a control in the ControlAdded event, but I am capturing the HostedTextBoxBase, not the DateTimePicker.
Private Sub RadGanttView1_ControlAdded(sender As Object, e As ControlEventArgs) Handles RadGanttView1.ControlAdded
Dim startDate As Date = RadGanttView1.SelectedItem.Start
e.Control.ResetText()
e.Control.Text = startDate.ToShortDateString
End Sub
How can I change the date input format to Short?
RegardsJack