Hello,
In my grid (version 2007.3) I have a date column using a web date chooser control for selecting the date. I have setup my column by code:
grid.Bands[1].Columns.FromKey( "ValidFrom" ).Header.Caption = "Gltig ab";
grid.Bands[1].Columns.FromKey( "ValidFrom" ).Format = "dd.mm.yyyy";
grid.Bands[1].Columns.FromKey( "ValidFrom" ).EditorControlID = this.edValidDate.UniqueID;
grid.Bands[1].Columns.FromKey( "ValidFrom" ).DefaultValue = DateTime.Today;
After inserting a new row and choose a date the date displayed is still the initial value. After chooseing the date a second time the date displays fine.
Does anybody know whats going wrong here ?
Thanks for any help. Markus
I had a similar problem with 2007.3. I was using a WebDateChooser to enter selection criteria for the records I would display in a WebGrid. But the WebDateChooser's value had not been updated until after the Grid was bound. In the end, I had to trap the WebDateChooser's .ValueChanged event and rebind my grid at that point.
HTH
This links points to this thread itself ???
Can't use this link. Markus
You can look this link:
http://forums.infragistics.com/forums/t/10388.aspx