How to use AjaxControlToolkit in BlogEngine?

Topics: ASP.NET 2.0
Aug 7, 2010 at 12:28 PM

Hello, i wanted to add some AJAX features to BlogEngine 1.6, so i added the AjaxControlToolkit Assembly in the bin Directory of the Web.

In the web.config i registered the assembly under pages / controls ->

<add assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagPrefix="ajaxToolkit" />


In the Masterpage i added in the form the scriptmanager:


 <ajaxToolkit:ToolkitScriptManager runat="server" ID="ScriptManager1" />

For the simple test i put a AJAX Calendar Control to the about.aspx

 <asp:TextBox ID="tb" runat="server"></asp:TextBox>
    <ajaxToolkit:CalendarExtender ID="bla" runat="server" TargetControlID="tb"></ajaxToolkit:CalendarExtender>


When i click in the Textbox no Calendar appear!!
Any idea?

Aug 7, 2010 at 12:36 PM
Edited Aug 7, 2010 at 12:36 PM

The solution is:

You must add this attribute to the scriptmanager:

 

CombineScripts="false"

 

no it works

 

 <ajaxToolkit:ToolkitScriptManager runat="server" ID="ScriptManager1" CombineScripts="false" />

 

Found this solution in this post