Hi All,
I am using the Infragistics UltraWebGrid to display some data including costs on a webpage. I have set the "Format" property of the UltraGridColumn to:
Format="£#,##0.00"
and for the first time the grid is loaded on the page, the formatting is displayed correctly as a cost. However, the UltraWebGrid is included in an AJAX UpdatePanel, and when this is updated I change the datasource and rebind the data. The latest data is shown in the control but now the formatting is lost (I have no pound sign in front of my currency values, and the decimal places are not to 2 decimal places).
Any ideas why this may be occurring and how I can fix it?
Many thanks,
AJ
Its worked fine in the past for me when I've formatted it. I think you will need to reformat the grid each time you bind the data to it.
What about all of the other formatting I am losing after an update? I have the background color of the rows set to "transparent", and column widths sizes set in the aspx page, will I have to put all of this formatting information in the codebehind file?
That doesn't seem like a realistic solution to me unfortunately - any news from any of the infragistics guys on this one?
Many thanks for your response :)
I'm having the exact same problem. We just moved a web app from a w2003K server to w2008k server and the formating is lost after editing of cell, even though it initially loads correctly. Format is "#,##0.00" and it truncates everything. A format of $#,##0.00 is changed to 0.