-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy path1. README.txt
277 lines (202 loc) · 10 KB
/
1. README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
Product : Ext.NET Community
Version : 1.2.0
Last Updated : 2011-09-12
--------------------------------------------------------------------------
CONTENTS
--------------------------------------------------------------------------
I. Version 1.2.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.2.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>
</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 an DirectEvent.
The Default value is to Exclude the ViewState from the Response.
Default is 'Default'. Options include [Default|Exclude|Include]
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. Json.NET provided by James Newton-King
http://www.codeplex.com/json/
See \Build\Ext.Net\Licenses\Newtonsoft.Json.txt
3. Ext JS JavaScript Library provided by Sencha, Inc.
http://www.sencha.com/products/js/
See \Build\Ext.Net\Licenses\ExtJS.txt
--------------------------------------------------------------------------
--------------------------------------------------------------------------
Copyright (c) 2006-2011, Ext.NET, Inc. All rights reserved.
Ext.NET, Inc.
www.ext.net