Sunday, March 11, 2012

Error: AjaxControlkit is not defined

Try adding this when starting your code behind..

<%@. Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
Namespace="System.Web.UI" TagPrefix="ajax" %>
<%@. Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>

This registers the assembly files and other data for the aspx pages to understand. Check it out and write back. Do check your ajax download versions as the registration above is for the latest feb release.

Enzoi!!


Thank you for answering!!

I tried but it fails. Finally, I found the problem on client side. The hour of my PC was established to the 2005, so Ajax Script requests were always expired. I change mi PC to today and now it works!!

No comments:

Post a Comment