Configuration required to get Sencha ExtJS TreeGrid example working

if you inspect treegrid.js you’ll see that it requires treegrid.json (JSON-formatted data file). when you visit (which is the path where treegrid.js expects treegrid.json) you’ll see, that there is no such file. fix the path or create a data file : ) EDIT you can find proper JSON here:


If you want to use regular expressions you could do something like this <rule name=”RewriteUserFriendlyURL1″ stopProcessing=”true”> <match url=”^([^/]+)/([^/]+)/?$” /> <conditions> <add input=”{REQUEST_FILENAME}” matchType=”IsFile” negate=”true” /> <add input=”{REQUEST_FILENAME}” matchType=”IsDirectory” negate=”true” /> </conditions> <action type=”Rewrite” url=”default.asp?language={R:1}&amp;id={R:2}” /> </rule> This would rewrite “” as “”, or “” as “” To change the 2 to en and the 3 … Read more

Allow loading of JSON files in Visual Studio Express 2013 for Web

After some more googling, and experimenting I found out, that you have to define IIS settings in the Web.config. After adding the following configuration: <system.webServer> <staticContent> <mimeMap fileExtension=”.json” mimeType=”application/json” /> </staticContent> </system.webServer> it works like a charm. Full setup file example: <?xml version=”1.0″?> <configuration> <system.web> <compilation debug=”true” targetFramework=”4.0″/> </system.web> <system.webServer> <staticContent> <mimeMap fileExtension=”.json” mimeType=”application/json” /> … Read more