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?
相关问题
- Sorting 3 numbers without branching [closed]
- Graphics.DrawImage() - Throws out of memory except
- Carriage Return (ASCII chr 13) is missing from tex
- Why am I getting UnauthorizedAccessException on th
- 求获取指定qq 资料的方法
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.
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.
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.
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.
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
And this one: http://extaspnet.codeplex.com/