1. #1
    Ext JS Premium Member
    Join Date
    Oct 2007
    Location
    Herndon, VA
    Posts
    265
    Vote Rating
    3
    durlabh is on a distinguished road

      0  

    Default Ext.Direct .NET Alternative Implementation

    Ext.Direct .NET Alternative Implementation


    You can also take a look at my slightly modified version of Ext Direct router posted by Evan. Some of the changes I've made are:
    • Website instead of Webapplication
    • Instead of JSON.NET, this uses Microsoft's Javascript Serialization
    • Instead of separate DirectMethodAttribute for Form etc., added properties in the same. This way, we can extend it easily instead of remembering different attributes
    • Example of CRUD using a DataMapper class
    Let me know what you think of these modifications.

    The code is accessible at http://www.durlabh.com/extJS/extDirect/DotNet.zip

    Live demo at: http://durlabh.com/extDirectSample/ and http://www.durlabh.com/extDirectSample/CRUD/Writer.html
    Last edited by durlabh; 14 Jul 2009 at 1:13 PM. Reason: Included CRUD demo

  2. #2
    Sencha User
    Join Date
    Aug 2008
    Posts
    110
    Vote Rating
    0
    Rothariger is on a distinguished road

      0  

    Default


    hi,

    im using your router, sorry that i post here my problem too but from now on i will be posting here ....
    well i get the exception of this.directfn.apply in requestdata of treeloader... coukd you give me a clue of why is it happening??


    thanks...

  3. #3
    Ext JS Premium Member
    Join Date
    Oct 2007
    Location
    Herndon, VA
    Posts
    265
    Vote Rating
    3
    durlabh is on a distinguished road

      0  

    Default


    Hi Rothariger,

    Are you using Evan's or mine? Any sample code?

    - Durlabh

  4. #4
    Sencha User
    Join Date
    Aug 2008
    Posts
    110
    Vote Rating
    0
    Rothariger is on a distinguished road

      0  

    Default


    im using this one i suppose its yours...


    i have copied the tree from your example... and my response its based in a linq to sql query... and returning a JsonRecords like your example...



    thanks!

  5. #5
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,641
    Vote Rating
    582
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    @durlabh

    Perhaps we should start a new thread for yours to avoid any confusion. Thoughts?
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  6. #6
    Sencha User
    Join Date
    Aug 2008
    Posts
    110
    Vote Rating
    0
    Rothariger is on a distinguished road

      0  

    Default


    hi,

    finally i found the problem yesterday, i dont know why, i put the full name, instead of namespace.class.funcion :P


    thanks anyway...

  7. #7
    Ext JS Premium Member
    Join Date
    Oct 2007
    Location
    Herndon, VA
    Posts
    265
    Vote Rating
    3
    durlabh is on a distinguished road

      0  

    Default


    Hi Evan,

    I suggest you start a new thread as even though there are only small modifications but some people might want to use the modifications from my router.

    - Durlabh

Thread Participants: 2