Code:
[Ajax.AjaxMethod()] //errors here
public string GetStates()
{
//do something
}
Error 1 The type or namespace name 'Ajax' could not be found (are you missing a using directive or an assembly
I have the ajaxtoolkit and system.web.extensions in my bin.
I also have this
Code:
<system.web>
<httpHandlers>
<!-- Register the ajax handler -->
<add verb="POST,GET" path="ajax/*.ashx" type="Ajax.PageHandlerFactory, Ajax" />
</httpHandlers>
</system.web>
any ideas why I am getting this error and what I can do to alleviate the issue