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 .