1. #341
    Ext JS Premium Member veenvliet.morion's Avatar
    Join Date
    Oct 2009
    Location
    Netherlands
    Posts
    24
    Vote Rating
    0
    veenvliet.morion is on a distinguished road

      0  

    Default


    Your web.config is like it should be?
    You have Ext.Direct... namespace included in your controller class files?

  2. #342
    Touch Premium Member
    Join Date
    Nov 2011
    Posts
    124
    Vote Rating
    0
    JavascriptParrot is on a distinguished road

      0  

    Default


    The web.config is nearly the same as the example config. No important differences, I have "using Ext.Direct.Mvc " add to the controller class...

  3. #343
    Sencha User
    Join Date
    Jan 2008
    Location
    Toronto, Canada
    Posts
    480
    Vote Rating
    4
    elishnevsky is on a distinguished road

      0  

    Default


    rajaJs, you're supposed to be returning raw data, that can be serialized to JSON object where members' names match field names of the form. And what you're doing is returning full DataRow object, it's not going to work. Just return an anonymous type, it's the easiest thing to do.

  4. #344
    Sencha User
    Join Date
    Jan 2008
    Location
    Toronto, Canada
    Posts
    480
    Vote Rating
    4
    elishnevsky is on a distinguished road

      0  

    Default


    Quote Originally Posted by JavascriptParrot View Post
    The web.config is nearly the same as the example config. No important differences, I have "using Ext.Direct.Mvc " add to the controller class...
    By default no configuration is required in Web.config. Are you using the built-in web server to run your app? Anyways, without seeing what you're doing it's hard to say.

  5. #345
    Touch Premium Member
    Join Date
    Nov 2011
    Posts
    124
    Vote Rating
    0
    JavascriptParrot is on a distinguished road

      0  

    Default


    I'm using the build in webserver to run the app.There are no config items in the web.config related to Ext.Direct.MVC.

    Thanks

  6. #346
    Ext JS Premium Member
    Join Date
    May 2008
    Posts
    372
    Vote Rating
    4
    ttbgwt is on a distinguished road

      0  

    Default


    You should submit this to: https://market.sencha.com/addons

  7. #347
    Sencha User
    Join Date
    Jan 2008
    Location
    Toronto, Canada
    Posts
    480
    Vote Rating
    4
    elishnevsky is on a distinguished road

      0  

    Default


    Quote Originally Posted by ttbgwt View Post
    You should submit this to: https://market.sencha.com/addons
    Thanks. Submitted. It should appear there under Connectors once it is approved.

  8. #348
    Sencha User
    Join Date
    Jun 2012
    Posts
    5
    Vote Rating
    0
    allanace852 is on a distinguished road

      0  

    Default


    Downloaded the latest demo (Mvc3Demo) and its working correctly, but after implementing the same exact way in my local project i got an error :

    The resource cannot be found.

    Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.

    Requested URL: /directapi



    Then i created a blank MVC3 web project and apply the same way as what have on the demo and i've only got :


    Ext.ns("Ext.app");Ext.app.REMOTING_API={"type":"remoting","url":"/DirectRouter/Index","actions":{}}; for the its directapi. i've this on my controller :

    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Web;
    using System.Web.Mvc;
    using Ext.Direct.Mvc;


    namespace MvcApplication4.Controllers
    {
    public class TestingController : DirectController
    {
    public ActionResult Details(int id)
    {
    return Json("asdfasdfasdf");
    }
    }

    its been 4 days and i have not accomplish anything. tnx

  9. #349
    Sencha User
    Join Date
    Jun 2012
    Posts
    5
    Vote Rating
    0
    allanace852 is on a distinguished road

      0  

    Default


    Another one is, the created a separate project for my controller, how will i setup it?i have already tried :


    <ext.direct
    namespace="MyAssembly"
    buffer="10"
    maxRetries="1"
    timeout="5000"
    dateFormat="js"
    debug="true"
    />is this correct?

  10. #350
    Sencha User
    Join Date
    Jan 2008
    Location
    Toronto, Canada
    Posts
    480
    Vote Rating
    4
    elishnevsky is on a distinguished road

      0  

    Default


    allanace852

    I honestly don't know how I can help you. To veryfy that everything is working I just created an empty MVC3 project, referenced the Ext.Direct.Mvc and Json.NET libraries and got it working right away. Then I created a Class Library project in the same solution, moved the TestingController there, referenced it from the MVC3 project and got it working without changing anything in the web project. I didn't even have to change the web.config.

    My only advice to you is read the documentation and make sure you follow all the steps, there aren't that many. I don't know what else I can do for you.

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi