Skip to content

Commit 9941e6b

Browse files
Update README.md
1 parent 0bdf5b0 commit 9941e6b

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

README.md

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -22,23 +22,6 @@ Advantages:
2222

2323
To use WebForms Core technology, it is enough to add the WebFormsJS library in the head section of HTML and get the WebForms class associated with the server programming language from the [WebForms class](https://github.com/elanatframework/Web_forms_classes) repository.
2424

25-
## Options
26-
27-
At the beginning of the web-forms.js file, there are WebFormsJS customization options. The following codes show the options of this file:
28-
```javascript
29-
var PostBackOptions = new Object();
30-
PostBackOptions.UseProgressBar = true;
31-
PostBackOptions.UseConnectionErrorMessage = true;
32-
PostBackOptions.ConnectionErrorMessage = "Connection Error";
33-
PostBackOptions.AutoSetSubmitOnClick = true;
34-
PostBackOptions.SendDataOnlyByPostMethod = false;
35-
PostBackOptions.WebFormsTagsBackgroundColor = "#eee";
36-
PostBackOptions.SetResponseInsideDivTag = true;
37-
PostBackOptions.ProgressBarStyle = "width:100%;min-width:300px;max-width:600px;background-color:#eee;margin:2px 0px";
38-
PostBackOptions.ProgressBarPercentLoadedStyle = "position:absolute;padding:0px 4px;line-height:22px";
39-
PostBackOptions.ProgressBarValueStyle = "height:20px;background-color:#4D93DD;width:0%";
40-
PostBackOptions.AddLogForWebSockets = true;
41-
```
4225
## Action Controls
4326

4427
Action Controls are WebFormsJS received codes that are received in INI format. WebFormsJS automatically detects whether the server response has Action Controls or not. If the server's response is based on the structure of an INI file that starts with `[web-forms]`, it will process the Action Controls, otherwise it will replace the server's response in the form of Ajax on the page.
@@ -364,3 +347,4 @@ Example:
364347

365348
In the above example, the alert is not displayed when the button is clicked.
366349

350+

0 commit comments

Comments
 (0)