Click here to Skip to main content
15,886,008 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

i got these error in ajax
Posted
Comments
Tom Marvolo Riddle 10-Jan-14 4:45am    
What's the error?Unknown server tag?
Member 10453691 10-Jan-14 4:55am    
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

when i use ajax control give error of above.
Tom Marvolo Riddle 10-Jan-14 4:58am    
Hi,this is not an error.Which ajax control you are using ?
Karthik_Mahalingam 10-Jan-14 4:48am    
this is not error
Member 10453691 10-Jan-14 5:00am    
Then what tell me?

Add the ajaxtoolkit registration to the web config. It will then be available in any page or user control. Add it after compilation section:

XML
<system.web>
    <compilation debug="true" targetFramework="4.0" />
    <pages >
      <controls>
        <add tagPrefix="ajaxControlToolkit" assembly="AjaxControlToolkit" namespace="AjaxControlToolkit"/>
      </controls>
    </pages>
  </system.web>


Also remember to add a reference to the dll.
 
Share this answer
 
Hi,

Please see the below link.

http://www.asp.net/ajaxlibrary/act.ashx[^]

It will shows you how to add ajax toolkit into your toolbox.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900