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.

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;

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.