EXT. NET learning notes (1) download configuration and use, ext.net learning notes

Source: Internet
Author: User

EXT. NET learning notes (1) download configuration and use, ext.net learning notes

The new company uses ext.net for development and begins to learn this knowledge:

 

First, download ext.net. The current version is 1.7. This version is free of charge and basic functions are sufficient. We strongly recommend that you use VS2015 when using ext.net for development, greatly shorten learning and use time.

Ext.net contains three files:

After the download, You can reference the three references in the project.

Ext.net official provides the complete API, see this address: http://examples1.ext.net

For more information, see the blog article: zifei http://youring2.cnblogs.com/

 

 

My personal experience is as follows:

First, add the following in web. config <configuration>

<! -- Add global configuration --> <configSections> <section name = "extnet" type = "Ext. net. globalConfig "requirePermission =" false "/> </configSections> <extnet scriptMode =" Release "/> <system. web> <! -- The following system. web section is only requited for running ASP. net ajax under Internet Information Services 6.0 (or earlier ). this section is not necessary for IIS 7.0 or later. classic mode --> <compilation debug = "true" targetFramework = "4.0"/>  

Then you can start using ext.net on the page.

Add Resource reference on the page that requires the Ext. Net Control. Just like using ScriptManager, you need to add the following controls on the page,

  <ext:ResourceManager runat="server"></ext:ResourceManager>

With this control, we have added ExtJS references to the page.

Then add the following code:

<Ext: Window runat = "server" ID = "firstwin" Title = "example Window" Width = "300" Height = "200" AutoShow = "true"> </ext: window>

View the page in IE to see a form.

 

If (! X. IsAjaxRequest)

When the page is requested for the first time (at this time, it is sent back), IsAjaxRequest is false, and then true, because the subsequent request is an Ajax request.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.