我的项目已经做到一办了,现在有某些功能需要应用到atlas,atlas已经安装完毕,请问怎么把atlas的dll引进工程里,具体位置在哪儿,找了很久找不着。另外webconfig怎么配置?还有一个问题就是逻辑都要用web service来实现吗?能不能使用ajaxpro那种方式?问题很多,请耐心看,不够分多得是

解决方案 »

  1.   

    装好后,在新建网站的时,在我的模板里有atlas WEB site的选项,选择后,直接使用就可以了。默认都设置好了。
    如何引入已有网站,还真不清楚。
      

  2.   

    在控件那栏添加选项,把你的atlas.dll添加进来就OK了
      

  3.   

    没看到有atlas的选项,需要浏览吗?具体位置在哪儿
      

  4.   

    安装完后在windows开始菜单中可以指向到库的dll,一般情况下好象都是依靠webservices来实现逻辑的。
      

  5.   

    如果在C盘的话
    C:\Program Files\Microsoft ASP.NET\AtlasControlToolkit\SampleWebSite\BinAtlas的帮助文档里面讲的比较清楚Setup your environment
    Install binaries
    Install the ASP.NET codename "Atlas" package. 
    Unpack the "Atlas" Control Toolkit package into a folder on your computer 
    Configure Visual Studio 2005
    Create a new web site from the "Atlas" web site template by opening the "File" menu, clicking "New", "Web Site...", and picking ""Atlas" Web Site" under "My Templates" 
    Right-click on the Toolbox and select "Add Tab", and add a tab called "Atlas Control Toolkit" 
    Inside that tab, right-click on the Toolbox and select "Choose Items..." 
    When the "Choose Toolbox Items" dialog appears, click the "Browse..." button. Navigate to the folder where you installed the "Atlas" Control Toolkit package. You will find a folder called "SampleWebSite", and under that another folder called "bin". Inside that folder, select "AtlasControlToolkit.dll" and click OK. Click OK again to close the Choose Items Dialog. 
    You can now use the included sample controls in your websites 
      

  6.   

    那请问在web.config里怎么设置?
      

  7.   

    <configSections>
    <sectionGroup name="microsoft.web" type="Microsoft.Web.Configuration.MicrosoftWebSectionGroup">
    <section name="converters" type="Microsoft.Web.Configuration.ConvertersSection" requirePermission="false"/>
    <section name="webServices" type="Microsoft.Web.Configuration.WebServicesSection" requirePermission="false"/>
    <section name="authenticationService" type="Microsoft.Web.Configuration.AuthenticationServiceSection" requirePermission="false"/>
    <section name="profileService" type="Microsoft.Web.Configuration.ProfileServiceSection" requirePermission="false"/>
    </sectionGroup>
    </configSections>
    <!-- 
        The microsoft.web section defines items required for the Atlas framework.
    -->
    <microsoft.web>
    <converters>
    <add type="Microsoft.Web.Script.Serialization.Converters.DataSetConverter"/>
    <add type="Microsoft.Web.Script.Serialization.Converters.DataRowConverter"/>
    <add type="Microsoft.Web.Script.Serialization.Converters.DataTableConverter"/>
    </converters>
    <webServices enableBrowserAccess="true"/>
    <!--
        Uncomment this line to enable the authentication service.
      <authenticationService enabled="true" />
      -->
    <!-- Uncomment these lines to enable the profile service. To allow profile properties to be retrieved 
           and modified in Atlas applications, you need to add each property name to the setProperties and 
           getProperties attributes.  If you intend for all properties to be available, you can use "*"
           as a shorthand rather than enumerating each property  -->
    <!--  
      <profileService enabled="true" 
                      setProperties="propertyname1;propertyname2" 
                      getProperties="propertyname1;propertyname2" />
      -->
    </microsoft.web>
    <appSettings/>
    <system.web>
    <pages>
    <controls>
    <add namespace="Microsoft.Web.UI" assembly="Microsoft.Web.Atlas" tagPrefix="atlas"/>
    <add namespace="Microsoft.Web.UI.Controls" assembly="Microsoft.Web.Atlas" tagPrefix="atlas"/>
    <add namespace="AtlasControlToolkit" assembly="AtlasControlToolkit" tagPrefix="atlastoolkit"/>
    </controls>
    </pages>
    <!-- 
            Set compilation debug="true" to insert debugging 
            symbols into the compiled page. Because this 
            affects performance, set this value to true only 
            during development.
      -->

    <!--
            ASMX is mapped to a new handler so that proxy javascripts can also be served.
      -->
    <httpHandlers>
    <remove verb="*" path="*.asmx"/>
    <add verb="*" path="*.asmx" type="Microsoft.Web.Services.ScriptHandlerFactory" validate="false"/>
    <!--
            The MultiRequestHandler enables multiple requests to be handled in one
            roundtrip to the server. Its use requires Full Trust.
        -->
    <add verb="*" path="atlasbatchcall.axd" type="Microsoft.Web.Services.MultiRequestHandler" validate="false"/>
    <add verb="*" path="atlasglob.axd" type="Microsoft.Web.Globalization.GlobalizationHandler" validate="false"/>
    <!--
            The IFrameHandler enables a limited form of cross-domain calls to 'Atlas' web services.
            This should only be enabled if you need this functionality and you're willing to expose
            the data publicly on the Internet.
            To use it, you will also need to add the attribute [WebOperation(true, ResponseFormatMode.Json, true)]
            on the methods that you want to be called cross-domain.
            This attribute is by default on any DataService's GetData method.
            
        <add verb="*" path="iframecall.axd" type="Microsoft.Web.Services.IFrameHandler" validate="false"/>
        -->
    <add verb="*" path="*.asbx" type="Microsoft.Web.Services.ScriptHandlerFactory" validate="false"/>
    </httpHandlers>
    <httpModules>
    <add name="ScriptModule" type="Microsoft.Web.Services.ScriptModule"/>
    <add name="BridgeModule" type="Microsoft.Web.Services.BridgeModule"/>
    <add name="WebResourceCompression" type="Microsoft.Web.Services.WebResourceCompressionModule"/>
    </httpModules>