Feb 28, 2013, 12:06 PM
[CLOSED] ModelField DateFormat problem
Hi,
I am trying to develop an rss feed viewer loosely based on your "Feed Viewer" combination sample.
I have a problem with a Date type ModelField, which cannot be parsed correctly and is undefined on the client side:
Removing the type and dateformat from the modelfield causes the string to be correctly displayed in my grid.
I will provide no code sample, as your Feed Viewer suffers from the same problem (data column in FeedGrid is not populated with data, see 2.1 examples).
Any help will be appreciated
I am trying to develop an rss feed viewer loosely based on your "Feed Viewer" combination sample.
I have a problem with a Date type ModelField, which cannot be parsed correctly and is undefined on the client side:
<ext:ModelField Name="pubDate" Type="Date" DateFormat="ddd, dd MMM yyyy HH:mm:ss 'GMT'" />
I have tried .net's DateTime.ParseExact on the server side and it correctly parses the string from my xml file with the provided DateFormat.Removing the type and dateformat from the modelfield causes the string to be correctly displayed in my grid.
I will provide no code sample, as your Feed Viewer suffers from the same problem (data column in FeedGrid is not populated with data, see 2.1 examples).
Any help will be appreciated
Last edited by Daniil; Mar 05, 2013 at 4:04 AM.
Reason: Please yse [CODE] tags, [CLOSED]