Hi there!
I use the WebDataGrid and tried to set DataFormatString on columns with DataType Decimal defined. The format string looks like following --> {0:#0.00}. After editing the cell with whatever value an exception's been thrown "Sys.FormatException: Format specifier was invalid". I tried {0:d} but then the grid disappears from designer and an error is shown. I need to set a proper format on those cells! Please help.
Regards,Dan
Hi all,
Please do not hesitate to contact me if you require further assistance.
Best Regards,
Petar IvanovDeveloper Support EngineerInfragistics, Inc.http://ko.infragistics.com/support
Hi Peter,
Thanks for your quick answer. Everything is ok now.
You are probably looking for the format {0:N2} as {0:D} displays integer values as decimals as described at:
http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.boundfield.dataformatstring.aspx
Please tell me if this helps.
Best Regards,Petar IvanovDeveloper Support EngineerInfragistics, Inc.http://ko.infragistics.com/support
I've the same problems. Nobody has found a solution?