PDA

View Full Version : [OPEN] [#138] Using JSFiddler



jchau
Aug 15, 2012, 7:58 PM
Can you provide an example of how I can create adhoc stuff using JSFiddler and Ext.NET scripts? What url should I use to pull down ExtJS resources plus EXT.NET resources? If you can share a JSFiddler session with just a simple Ext alert, that would be great.

Daniil
Aug 16, 2012, 6:33 AM
Hi,

I just tried with ExtJS 4.1.1 chose it in the "Choose Framework" option and without Ext.NET.
http://jsfiddle.net/fMU9m/1/

I don't know why, but it doesn't show an alert box well.

But the following appear to be working well

Ext.onReady(function () {
Ext.create(Ext.form.TextField, {
renderTo : Ext.getBody(),
value : "Hello!"
});
});

The main Ext.NET resources are here:
http://cdn.ext.net/ext.net/2.0.0/extjs/ext-all.js
http://cdn.ext.net/ext.net/2.0.0/extjs/resources/css/ext-all.css
http://cdn.ext.net/ext.net/2.0.0/extnet/extnet-all.js
http://cdn.ext.net/ext.net/2.0.0/extnet/resources/css/extnet-all.css

You can add these resource using the "Add Resources" option.

Generally, you can choose ExtJS 4.1.0 framework and add the Ext.NET resources only (the last two ones).

The v2.1 resources are not shared in CDN yet.

jchau
Aug 16, 2012, 5:45 PM
Thanks! Can you provide a similar example for 1.x? I tried loading the ExtJS 3.4 framework but it didn't work. What are the paths to 1.x resources?

Daniil
Aug 17, 2012, 6:46 AM
Seems we have no CDN resources for Ext.NET v1. I will ask @Geoffrey.

Anyways, you can share these resources anywhere to refer them in jsfiddle.

Daniil
Aug 18, 2012, 6:55 AM
Seems we have no CDN resources for Ext.NET v1. I will ask @Geoffrey.

We are considering a possibility to share 1.5 resources. We will notify you.

By the way, you can use speed.ext.net instead of cdn.ext.net. The first one should be much faster delivery.

Daniil
Jan 30, 2013, 6:36 AM
We are considering a possibility to share 1.5 resources. We will notify you.

By the way, you can use speed.ext.net instead of cdn.ext.net. The first one should be much faster delivery.

Created an Issue for this.
https://github.com/extnet/Ext.NET/issues/138