I've just done this recently and I am getting errors "Unrecognized tax prefix or device filter 'ajaxToolkit' on all my ajax controls. When I create a new page and insert an ajax control Visual Studio registers an assembly 'Assembly="AjaxControlToolkit" and tags it as "cc1". On my desktop visual studio doesn't register any assembly. It just calls the control <ajaxToolkit:...> and things work.
I've checked the bin folder and it does contain the AJAX dll. I'm sure it's something simple here, can someone tell me what is missing? Thank you.
try this in your aspx
<%@.RegisterAssembly="AjaxControlToolkit"Namespace="AjaxControlToolkit"TagPrefix="cc1" %>
I know about registering the assembly this way. I was wondering why on my desktop machine I don't have to register the assembly in my aspx and when I open it on my laptop I, all of a sudden, do.
Hi,
This can be also registered in web.config.
For instance:
<system.web>
<pages>
<controls>
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add namespace="AjaxControlToolkit" assembly="AjaxControlToolkit" tagPrefix="ajaxToolkit"/>
</controls>
No comments:
Post a Comment