I apologize if this question has an obvious answer, but I'm a bit of an Infragistics newbie. I have a WebGrid, and I'm setting one of the columns to DataType of DateTime, with a Format of "MM/dd/yyyy". The format works when the cell is displayed. However, when you click it the cell to edit, the format changes to include the day and time, thusly: "Fri Jan 25 08:46:53 EST 2008". It allows me to set the date using my format, but the initial display of the value when you start editing is a bit off-putting. This is not a very convenient format for my users, as they care concerned only with the date. Is there a way to change the edit format on a column, as well as the view format?
Thanks,~ Justin
The format property is for display purposes only. If you are going to do formatting editting you would need to use one of the editor controls. The help file has an explanation of how to do this
Embedding a WebEditor Control in WebGrid
The differenance would be that you would use the DateTimeChooser control rather then the editor mentioned in the article.
There are also samples, with code, both online and for download.
WebDateChooser - DateChooser in Grid