11

I don’t have advanced knowledge in JavaScript, and I am trying to learn how to use Ext JS framework in ASP.NET (C# or VB.NET) environment. I’ve got couple of samples, but was unable get the project working. Is there such as website or book so I can go a read up about Ext JS in more details and how can I include this into my website?

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
  • 8
    Don't ask people to e-mail answers to you. That defeats the purpose of this site. I deleted your e-mail address from the post. – Joel Coehoorn Oct 15 '08 at 18:14

13 Answers13

7

Mike,

The best example site out there is http://examples.extjs.eu/. Each example has a link for viewing HTML, javascript and CSS separately.

We are successfully integrating ExtJS with the ASP.NET MVC framework. A separate post detailing how to put everything together is probably in order.

Jason Watts
  • 3,800
  • 29
  • 33
  • 1
    Please do not forget to update the comments with the link to the separate post – rshimoda Jun 18 '10 at 12:58
  • Come on, please, man, I've been waiting for the separate post for 7 years already... – nightcoder Nov 21 '15 at 02:32
  • I can't imagine you are serious about this AND I haven't looked at that code in 3 jobs and 6+ years. This is the best I can do https://www.sencha.com/forum/showthread.php?252644 – Jason Watts Nov 23 '15 at 13:32
6

And this one: http://extaspnet.codeplex.com/

5

Also see http://www.coolite.com/ (Just providing the link and in no way endorsing it, as I haven't really seen it in action.)

Ates Goral
  • 137,716
  • 26
  • 137
  • 190
3

I suppose you've been all through the samples at Sencha

You really need to read this entire post Secrets of the JavaScript Ninjas (2008-08-13) to decide if Ext JS is a better choice.

If you decide to stick with Ext JS , you may find Ext JS Extender Controls useful.

Cœur
  • 37,241
  • 25
  • 195
  • 267
Adam Caviness
  • 3,424
  • 33
  • 37
2

When I was learning to incorporate Ext JS with ASP.NET at my previous position, I found the best way to learn it (aside from the documentation and examples) was just going thru the forums and picking up up sample code here and there from user posts.

Once you've learned the nuances of the client API (and their online documentation and forums have been excellent in this regard), it's then just a simple matter of having your ASP.NET code returning the correct JSON for Ext JS to consume.

I have a rather outdated ASP.NET MVC / Ext JS sample project that probably won't compile anymore (it was built with an early preview release of MVC) but you can probably still go thru the code to see how Ext JS interacts with the server side code.

Ext JS and ASP.NET MVC Sample Project

Alan
  • 922
  • 8
  • 6
2

Take a look at the Script# project. It, at build time, generates JavaScript from your C# and is particularly good for writing desktop-like applications.

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
iasksillyquestions
  • 5,558
  • 12
  • 53
  • 75
2

I guess the following website is more relavent.

http://www.ext.net/

It provides community as well as pro version, and it just works well.

A Bright Worker
  • 1,298
  • 14
  • 21
2

I worked on a project that was using ExtJS heavily. I don't really know what king of problems do you actually have but we used a great combination of ExtJS, Asp.net, WCF for ExtJS Ajax calls to the server. Worked like a charm. But we abandoned the regular asp.net control usage almost completely, because most of the UI was build in ExtJS. We also used our own layout and controls with a different look and feel than ExtJS. So it didn't really look like an ExtJS app.

You could get by with regular WebMethods (as in Web Services) as well.

You will definitelly benefit a lot by using tools like Firebug and Fiddler to debug your javascript code and to examine all messages going back and forth between client and server.

Getting examples is better and better every day, since more and more people are using ExtJS in combination with various technologies. Asp.net as well.

Robert Koritnik
  • 103,639
  • 52
  • 277
  • 404
  • Ditto. Use Firebug and don't use ASP.NET's control library, and it works just fine. I use ExtJS on the UI for 5 apps I maintain currently, all with ASP.NET 3.5 on the back end. – richardtallent Jun 28 '09 at 04:26
1

Any particular reason you've settled on Ext JS out of all the different frameworks out there? If not, since you're using ASP.NET I recommend jQuery instead as it's going to be officially supported by Microsoft soon.

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
Joel Coehoorn
  • 399,467
  • 113
  • 570
  • 794
  • Also jQuery uses the more liberal MIT license than ExtJS which uses the GPLv3. – Wayne Bloss Dec 07 '08 at 02:24
  • 9
    ExtJS's Core library, which is the best comparison to JQuery, is released under an MIT license, not GPL. But ExtJS does a LOT more than JQuery does, so you're comparing apples and oranges. – richardtallent Jun 28 '09 at 04:23
  • But ExtJs provides two different thing, ExtUI and ExtCore and they are different. ExtCore is counterpart of jQuery but ExtUI is greater than jQueryUI – Tarik Jan 26 '10 at 00:23
0

The best ASP.Net MVC Tag Library for the popular ExtJS framework. Website:http://www.mvcnext.com

MVCnExt simplifies ExtJs for ASP.Net MVC.

Makes it easier for to integrate ExtJs compoments for ASP.Net MVC.

0

The best implementation of ExtJS over MVC I have found at http://www.sencha.com/forum/showthread.php?t=72245 . It is not too superfluously implemented but it's enough mature.

olegtaranenko
  • 3,722
  • 3
  • 26
  • 33
0

Please have a look here The project contains an ExtJS 3.3.1 import library for Script# compiler which you can use to code your ExtJS scripts in C#.

Janak Nirmal
  • 22,706
  • 18
  • 63
  • 99
Ravi
  • 1
0

i wrote a post on using extjs grid with asp.net mvc. although you are not planning to use ext on mvc fm. i think other details like how to render it using javascript, parsing parameters in requests sent by the grid, json serialization...etc will be relavant and helpful to you.