Hi,
i am using infragistics 9.1
i have an ultragrid with a datasource having the first column as DateTime
in the Grid, the cells of the first column are datetimeeditors (default behavrior of the grid)
my problem is that when i click the drop down button of the date time editor, i am getting an error. you can see the error in the attached image
Hady said:how can i get the latest service release?
Hi
how can i get the latest service release?
do i have to re-download the same way i downloaded the version 9.1?
thx
When the cell is in edit mode, it looks at the InputMask (or MaskInput, I get the order confused for the controls), not the Format of the column. If none of the formats are working for you, and you can't install the latest service release yet, I guess your best option is to hide the dropdown button.
-Matt
I tried most of the formats... it is not working.
actually when the cell gets focus, the format will return to dd/mm/yyyy
i guess i will go for the time being with the second solution
I can't remember the exact workaround for the bug, it was definitely whatever the default date format was for the English culture (maybe I had the slash wrong, could try "MM/dd/yyyy").
As for removing the button, you could try setting the Style of the column to DateTimeWithoutDropDown:
private void ultraGrid1_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e){ e.Layout.Bands[0].Columns["DateColumn"].Style = Infragistics.Win.UltraWinGrid.ColumnStyle.DateTimeWithoutDropDown;}