Ajax issue for ASP.NET VS2008

I am using VS2008 Pro and the problem is as follows:

I need to add eg.

<asp:ScriptManager ID="ScriptManager1" runat="server"/>

<ajaxToolkit:FilteredTextBoxExtender ID="Filter1" runat="server" ValidChars="AEIOU" TargetControlID="TextBox1"></ajaxToolkit:FilteredTextBoxExtender>

      

The problem is that <ajaxToolkit........

intellisense is not being detected. I added a link AjaxControlToolkit.dll

, but I still cannot use them

thank

+1


source to share


1 answer


I believe the problem is that you haven't registered the tagPrefix.

Try adding the following line to your web.config.



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

      

It should be in the system.web section. Perhaps you already have a page / control section defined, in which case just add an "add" element to the control section.

+2


source







All Articles