I have a dynamically build UltraWebgrid from a sql dataset and I have two columns that are date fields. How can I set the date format to change the raw sql date from 6/17/2011 12:00:00 pm to 6/17/2011 programmatically? I'm thinking I will have to do it with a css class, but can't figure out how to programmatically set that column's css style to the modified css item, if that is the route to go. Thanks for your help!
Hello dbishop9,
I hope you were able to resolve this.
For any further assistance do not hesitate to contact me.
Sincerely,
Georgi Sashev
Developer Support Engineer
Infragistics, Inc.
http://ko.infragistics.com/support
Thank you for posting this in our community. You can use the Format property of the column to display the date as you wish. For more details follow this link:
http://help.infragistics.com/Help/NetAdvantage/ASPNET/2010.3/CLR4.0/html/Infragistics4.WebUI.UltraWebGrid.v10.3~Infragistics.WebUI.UltraWebGrid.UltraGridColumn~Format.html
I hope this information is helpful.
For any further questions do not hesitate to contact me.