-
30 Aug 2009 2:28 AM #91
@Evant: Still monitoring this thread? I hope so.
Can you tell me where do I find the most recent version of your example code? In the Ext.Direct Pack or in the first post of this thread?
Thank you very much.
-
30 Aug 2009 5:32 PM #92
The latest version of mine is in the first post.
Evan Trimboli
Sencha Developer
Twitter - @evantrimboli
Don't be afraid of the source code!
-
2 Sep 2009 12:08 PM #93
Evan: any more thoughts of Google Coding this router so that we can merge your version and mine and make one stack that we can both update and keep up to date?
Cheers
D
-
19 Sep 2009 1:17 PM #94
Server side date fix
Server side date fix
If anyone is interested i'm sharing my JsonResposeFilter, an IHttpModule which replaces invalid date strings on the server side, thus removing some load from the client.
Thanks to OP for that great Router.
-
11 Nov 2009 3:09 AM #95
Newbie question
Newbie question
Hi, this looks great to me. I'm new to Ext Js though and am struggling to get a Listview to work with this mechanism. Could anybody post an example?
-
11 Nov 2009 6:55 AM #96
@evant
Found a minor bug in ResultConverter.cs when using Json.NET 3.5r5
The ReadJson and WriteJson methods must include "JsonSerializer serializer" as a third parameterCode:using System; using System.Collections.Generic; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace Ext.Direct { internal class ResultConverter : JsonConverter { public override bool CanConvert(Type objectType) { //always return true return true; } public override object ReadJson(JsonReader reader, Type objectType, JsonSerializer serializer) { //no custom reading here throw new NotImplementedException(); } public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer) { JContainer o = value as JContainer; if (o != null) { writer.WriteRawValue(o.ToString(Formatting.None)); } else { writer.WriteValue(value); } } } }
-
13 Nov 2009 12:19 PM #97
Is this the current .NET recommended method? I was using some code that included DirectHandler.ashx and you could write everything in classes. I tried updating the Ext.Direct.dll from this for debug and now I get 'Ext.Direct.DirectProvider' does not contain a constructor that takes '2' arguments. Can this be explained to me and can you point me to the stable version of the .NET Ext.Direct supported method?
-
16 Nov 2009 2:00 PM #98
My issue was mixing the DLL from your post up with the application on the 3.0.3 downloads page. The Ext.Direct.Pack.... what is more current should we use that pack as a template or your router example which does not include the same layout. They are quite different and I want to use the more stable method as a base.
Please let us all know as this is not the first time this question has come up.
-
16 Nov 2009 4:18 PM #99
Which exact version are you trying to use? The one that is attached on the first post from evan, the one from the download page, or the one that I posted up later on in the thread with a bunch of additions that I'd like to see in the "official" version?
D
-
16 Nov 2009 4:23 PM #100
Oh, and as far as I know - the version that's in this thread is the latest - I don't know if anyone updated the zips for the example routers, they aren't really maintained the same way the rest of Ext is I don't think. There was talk at some point of putting the Ext.Direct router on Google Code so the community could manage it, but I don't know if that was ever resolved.


Reply With Quote