I have a DateTime column and can bind on the server side using "G" as the format.
That format is not supported when updating the grid using Ajax.
Please advise.
Mike
Hi milop,
Please let me know if you need any additional assistance regarding this matter.
That stinks.
Thanks, David.
Hi Mike,
This is not Infragistics' code, but rather Microsoft Ajax code. As the Aikido controls were built on that framework, we use their format methods. They do not support all of the strings available on the server. This is a known issue.
regards,David Young
Attached is the markup for the WebDataGrid.
Since I can only attach one file I'm pasting in IG's code that is failing:
Date._expandFormat = function Date$_expandFormat(dtf, format) { if (!format) { format = "F"; } if (format.length === 1) { switch (format) { case "d": return dtf.ShortDatePattern; case "D": return dtf.LongDatePattern; case "t": return dtf.ShortTimePattern; case "T": return dtf.LongTimePattern; case "F": return dtf.FullDateTimePattern; case "M": case "m": return dtf.MonthDayPattern; case "s": return dtf.SortableDateTimePattern; case "Y": case "y": return dtf.YearMonthPattern; default: throw Error.format(Sys.Res.formatInvalidString); } } return format;
I will be looking into this issue for you. Would it be possible to show your mark-up? This may prove helpful in determining what is happening here.
Thanks.