Ext.Net
Directory actions
More options
Directory actions
More options
Ext.Net
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
Product : Ext.NET.Community Version : 1.6.0 Last Updated : 2012-11-21 -------------------------------------------------------------------------- CONTENTS -------------------------------------------------------------------------- I. Version 1.6.0 CHANGELOG II. ADD TO VISUAL STUDIO (or VISUAL WEB DEVELOPER) PROJECT INSTRUCTIONS III. SAMPLE WEB.CONFIG IV. <extnet> WEB.CONFIG GLOBAL CONFIGURATION PROPERTIES V. CREDITS -------------------------------------------------------------------------- I. Version 1.6.0 CHANGELOG -------------------------------------------------------------------------- See CHANGELOG.txt -------------------------------------------------------------------------- II. ADD TO VISUAL STUDIO (or VISUAL WEB DEVELOPER) PROJECT INSTRUCTIONS -------------------------------------------------------------------------- The following steps are required to manually install the controls into your Visual Studio (2008 or 2010) or Visual Web Developer (2008 or 210) Express Toolbox. ADD TO VISUAL STUDIO TOOLBOX ---------------------------- 1. Open Visual Studio or Visual Web Developer Express. 2. Open an existing web site or create a new web site project. 3. Open or create a new .aspx page. 4. Open the ToolBox panel, typically located on the left side in a fly-out panel (Ctrl + Alt + x). 5. Create a new "Ext.NET" Tab, by... a. Right-Click in the ToolBox area. b. Select "Add Tab". c. Enter "Ext.NET". 6. Inside the "Ext.NET" tab, Right-Click and select "Choose Items...". 7. Under the ".NET Framework Components" Tab select the "Browse" button. 8. Navigate to and select the Ext.Net.dll file, choose open, then select the "Ext.NET.dll" from the extracted download .zip package. Ext.NET can always be downloaded from the following location, see http://www.ext.net/download/ 9. The component items should now be added to the list and pre-checked. You can confirm by sorting the list by "Namespace" and scrolling to "Ext.Net" 10. Click "OK". The icons should be added to your ToolBox. You should now be able to drag/drop a Ext.NET component onto your WebForm. When a Component is drag/dropped into your .aspx, Visual Studio will automatically add the proper project Assembly References. A project Assembly Reference can be manually added with the following steps: 10.1 In Visual Studio, open your project, then open the "Solution Explorer" panel. Or, from the main Visual Studio menu, select "Project", then "Add Reference...". 10.2 Right-click on your project, select "Add Reference...". 10.3 Under the "Browse" Tab, navigate and find the "Ext.Net.dll" from the extracted download .zip package. 10.4 Click "OK" button. Project Reference has now been added. ADD REQUIRED WEB.CONFIG NODES ----------------------------- 1. Open your projects Web.config file. 2. Add required Ext.NET related node as provided in item III. "SAMPLE WEB.CONFIG" below. -------------------------------------------------------------------------- III. SAMPLE WEB.CONFIG -------------------------------------------------------------------------- <?xml version="1.0"?> <configuration> <configSections> <section name="extnet" type="Ext.Net.GlobalConfig" requirePermission="false" /> </configSections> <extnet scriptMode="Release" /> <!-- See Property Options in README.txt --> <!-- 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. --> <system.web> <httpHandlers> <add path="*/ext.axd" verb="*" type="Ext.Net.ResourceHandler" validate="false" /> </httpHandlers> <httpModules> <add name="DirectRequestModule" type="Ext.Net.DirectRequestModule, Ext.Net" /> </httpModules> <pages> <controls> <add assembly="Ext.Net" namespace="Ext.Net" tagPrefix="ext" /> </controls> </pages> </system.web> <!-- The system.webServer section is required for running ASP.NET AJAX under Internet Information Services 7.0. It is not necessary for previous version of IIS. --> <system.webServer> <validation validateIntegratedModeConfiguration="false"/> <modules> <add name="DirectRequestModule" preCondition="managedHandler" type="Ext.Net.DirectRequestModule, Ext.Net" /> </modules> <handlers> <add name="DirectRequestHandler" verb="*" path="*/ext.axd" preCondition="integratedMode" type="Ext.Net.ResourceHandler" /> </handlers> </system.webServer> </configuration> -------------------------------------------------------------------------- IV. <extnet> WEB.CONFIG GLOBAL CONFIGURATION PROPERTIES -------------------------------------------------------------------------- directEventUrl : string The url to request for all DirectEvents. Default is "". directMethodNamespace : string Specifies a custom namespace prefix to use for the DirectMethods. Example "CompanyX". Example (default): Ext.net.DirectMethods.doSomething(); Example: CompanyX.doSomething(); directMethodProxy : ClientProxy Specifies whether server-side Methods marked with the [DirectMethod] attribute will output configuration script to the client. If false, the DirectMethods can still be called, but the Method proxies are not automatically generated. Specifies ajax method proxies creation. The Default value is to Create the proxy for each ajax method. Default is 'Default'. Options include [Default|Include|Ignore] ajaxViewStateMode : ViewStateMode Specifies whether the ViewState should be returned and updated on the client during a DirectEvent. The Default value is Disabled, i.e. to disable the ViewState from the Response. Default is 'Disabled'. Options include [Inherit|Disabled|Enabled] cleanResourceUrl : boolean The Ext.NET controls can clean up the autogenerate WebResource Url so they look presentable. Default is 'true'. Options include [true|false] clientInitDirectMethods : boolean Specifies whether server-side Methods marked with the [DirectMethod] attribute will output configuration script to the client. If false, the DirectMethods can still be called, but the Method proxies are not automatically generated. Default is 'false'. Options include [true|false] idMode : IDMode Specifies how the Client ID for the control should be sent to the client. Similar in functionality to ASP.NET 4.0 ClientIDMode property. The Default value is Legacy. Default is 'Legacy'. Options include [Legacy|Inherit|Static|Ignore|Explicit] initScriptMode : InitScriptMode Specifies how the initialization JavaScript code will be rendered in the client. Inline will place the Ext.onReady block within the Page <head>. Linked will create a link to the init block and download in a separate request. The Default value is Inline. Default is 'Inline'. Options include [Inline|Linked] locale : string Specifies language of the ExtJS resources to use. Default is to return the System.Threading.Thread.CurrentThread.CurrentUICulture if available. gzip : boolean Whether to automatically render scripts with gzip compression. Only works when renderScripts="Embedded" and/or renderStyles="Embedded". Default is true. Options include [true|false] scriptAdapter : ScriptAdapter Gets or Sets the current script Adapter. Default is "Ext". Options include [Ext|jQuery|Prototype|YUI] disableViewState : boolean True to completely remove the __VIEWSTATE field from the client. If true, the VIEWSTATE is not sent to, nor returned from the client. Default is "false". Options include [true|false] renderScripts : ResourceLocationType Whether to have the Ext.NET controls output the required JavaScript includes or not. Gives developer option of manually including required <script> files. Default is Embedded. Options include [Embedded|File|None] renderStyles : ResourceLocationType Whether to have the Ext.NET controls output the required StyleSheet includes or not. Gives developer option of manually including required <link> or <style> files. Default is Embedded. Options include [Embedded|File|None] resourcePath : string Gets the prefix of the Url path to the base ~/extnet/ folder containing the resources files for this project. The path can be Absolute or Relative. scriptMode : ScriptMode Whether to include the Release (condensed) or Debug (with inline documentation) Ext JavaScript files. Default is "Release". Options include [Release|Debug] sourceFormatting : boolean Specifies whether the scripts rendered to the page should be formatted. 'True' = formatting, 'False' = minified/compressed. Default is 'false'. Options include [true|false] stateProvider : StateProvider Gets or Sets the current script Adapter. Default is 'PostBack'. Options include [PostBack|Cookie|None] theme : Theme Which embedded theme to use. Default is "Default". Options include [Default|Gray|Slate] quickTips : boolean Specifies whether to render the QuickTips. Provides attractive and customizable tooltips for any element. Default is 'true'. Options include [true|false] -------------------------------------------------------------------------- IV. CREDITS -------------------------------------------------------------------------- 1. FamFamFam Icons provided by Mark James http://www.famfamfam.com/lab/icons/silk/ See \Build\Resources\Ext\Licenses\FamFamFam.txt for more information. 2. Flag icons provided by Mark James http://www.famfamfam.com/lab/icons/flags/ These icons are public domain, and as such are free for any use (attribution appreciated but not required). See \Build\Resources\Ext\Licenses\FlagIcons.txt for more information. 2. Silk companion icon set #1 - "More Silk!" provided by Damien Guard http://www.damieng.com/icons/silkcompanion See \Build\Ext.Net\Licenses\SilkCompanionIcon.txt for more information. 3. Json.NET provided by James Newton-King http://www.codeplex.com/json/ See \Build\Ext.Net\Licenses\Newtonsoft.Json.txt 4. Ext JS JavaScript Library provided by Sencha, Inc. http://www.sencha.com/products/js/ See \Build\Ext.Net\Licenses\ExtJS.txt -------------------------------------------------------------------------- -------------------------------------------------------------------------- Copyright (c) 2007-2012, Ext.NET, Inc. All rights reserved. Ext.NET, Inc. [email protected] www.ext.net