Add Atlas to the ASP. NET 2.0 Project

Source: Internet
Author: User
On ASP. NET, the use guide of Atlas requires us to select the Atlas website project template when creating a project. However, this requirement becomes unacceptable when we want to add some small Ajax capabilities to the existing project.
Below are some steps and experiences for adding atlas in my project:
Step 1. Install atlas and find the bin folder. The bin folder contains three DLL files: atlascontroltoolkit. dll, Microsoft. atlascontrolextender. dll, and Microsoft. Web. Atlas. dll.
Step 2: copy the above three files to the bin folder of the project to which Ajax functions need to be added.
Step 3: Set the Atlas control in Web. setting. Add the following to the system. Web segment: Code : 1 < Pages >
2 < Controls >
3 < Add Namespace = "Microsoft. Web. UI" Assembly = "Microsoft. Web. Atlas" Tagprefix = "Atlas" />
4 < Add Namespace = "Microsoft. Web. UI. Controls" Assembly = "Microsoft. Web. Atlas" Tagprefix = "Atlas" />
5 </ Controls >
6 </ Pages >

Step 4: add the atlascontroltoolkit to the Web Control toolbar. Right-click the toolbar, select "add tab", and enter "Atlas ". Right-click the new tab, select "Choose item..." from the shortcut menu, and select "atlascontroltoolkit. dll" in the bin folder ".
Step 5: add the scriptmanager of atlas on the project page. The Code is as follows:<Atlas: scriptmanagerID= "Scriptmanager"Runat= "Server"Enablepartialrendering= "True" />

Step 6: select to add the Atlas control from the toolbar, drag it to the page, set and use it according to the Atlas instructions.

you can simply add the Atlas control through the preceding steps. However, for projects that use custom controls, using Atlas is troublesome, because if a page calls two custom controls at the same time and both use Atlas, they will conflict. Several solutions will be proposed in the Article .

Related Article

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.