ArticleDirectory
1. Use XML to store data in the background
2. Use XSLT to display data
3. Use Ajax technology to add and delete nodes
Disadvantages:
Although there are already a lot of tree navigation, as a beginner, I
The autocompleteextender control is used to populate the textbox with prompts. Like Google suggest. Here is a small example.
Example: Enter characters in the text box. Some optional lists are randomly displayed in the text box.
1) Create an
The modalpopupextender control is used to set the text style on the webpage. The following is an example: 1) Create an ASP. NET Ajax-enabeld web project in vs2005 and name it modalpopupextender1. 2) Add a text section to the label of default.
Animationextender Controls are controls that add animation effects. Events that can be added to an animation combination include onclick, onload, onmouseover, onmourseout, onhoverover, and onhoverout. Onload : The action when the page is imported.
The listsearchextender control is used to quickly search and locate the content in the list. Applicable to the ListBox and dropdownlist controls. See the example below:1) Create an ASP. NET Ajax-enabled web project in vs2005 and name it
The filtertextboxextender control is used to filter the text box, so that the text box can only enter the set value. The input types include numbers, lowercaseletters, uppercaseletters, and customer.
First, let's look at an example:
1) Create
The dynamicpopulate control is used to dynamically Replace the content of a control. Its content comes from a function call or web call.
Here is an example:1) Create an ASP. NET Ajax-enabled web project in Vs and name it dynamicpopulateextender1.
Jquery. Ajax (options) Request
Http://s.click.taobao.com/t_8? E = 7hz5x % 2bozdswsvvyc5jts79au1q % 3d % 3d & P = mm_24156262_0_0
Jquery underlying Ajax implementation. For easy-to-use high-level implementation, see $. Get, $. Post, and so on.
$.
This control is used to remind the user whether to perform this operation after clicking the button in the browser of the client. If "yes" is clicked ", execute the event processing function of the button. If you click "no", cancel the operation.
Because the template page is long, only Ajax is logged out.
Code Part, that is, the part before the label
Doctype HTML public "-// W3C // dtd xhtml 1.0 transitional // en" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > Script
Sometimes, our webpage requires cascade menus or cascade drop-down boxes. For example, when selecting a province, city, or county, we must set the drop-down box as the linkage drop-down box, in order to obtain the county under the province! The
From: http://www.jm-zy.net/Notes/Article-611.html
1. Download Ajax. dll, which is available everywhere. Http://ajax.schwarz-interactive.de/CSharpSample/
2. Create a website project ajaxsample
3. decompress the downloaded aajx. DLL to the
There is nothing left to worry about. I wrote a small function for refreshing new data queries to display the information. It is similar to Baidu and Google's search prompt functions. Hoho
Implementation principle: When a value is input in the
Step 1
Similar to onkeyup = "usernamechecker (this. Value); call a written JS Function
Step 2
In the JS function, execute a call similar to pagemethods. isuseravailable (username, onsucceeded );
Step 3
The system will automatically
The page calls JS, and JS accesses the WebService method to implement asynchronous data calling.
Create default. aspx and drag and drop the scriptmanager control to the page.
As follows:
Create a JS file using the following method:
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1 Doctype HTML public "-// W3C // dtd xhtml 1.0 transitional // en" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > 2 Html
1.To use JSON Type, which can be found in Controller. xml Use Type = "jsonjava"Type = "NONE" The returned data is stored in Request Medium
$ JQ. Ajax ({
Type: "Post ",
URL: "" + u + "? Productid = "+ ID +" & status = "+ status,
Datatype: "
No title page
Code
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->
Script Type
=
"
Text/JavaScript
"
>
VaR
Timeout
=
Null
;
//
Setinterval function
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