Microsoft Technology, .Net, BizTalk, Sharepoint & etc.

Liedong(Ken) Zheng, Senior SharePoint Developer at SIMPLOT

Use AjaxToolKit in vs 2008

Posted by ken zheng on March 31, 2008

Add AjaxControlToolkit and AjaxExtensionsToolbox to the references,

Modify your web.config file

<controls>
        <add tagPrefix=”ajaxToolkit” assembly=”AjaxControlToolkit” namespace=”AjaxControlToolkit”/>
    <add tagPrefix=”asp” namespace=”System.Web.UI” assembly=”System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35″/>
    <add tagPrefix=”asp” namespace=”System.Web.UI.WebControls” assembly=”System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35″/>
   </controls>

Add

<asp:ScriptManager ID=”scriptManager” runat=”server” EnablePartialRendering=”true” EnablePageMethods=”true”>
    </asp:ScriptManager>

under your FORM tag

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>