I am learning ASP.net Ajax. I want to pull data from a db table and populate it on a grid as shown in the following tutorial.
http://dotnetslackers.com/articles/ajax/aspnetajaxgridandpager.aspx
<asp:ScriptManager ID="TheScriptManager" runat="server">
<Services>
<asp:ServiceReference Path="~/DataService.asmx" />
</Services>
</asp:ScriptManager>
<ajax:Grid ID="grid1" runat="server"></ajax:Grid>
I have added reference to "ajaxcontroltoolkit.dll"
But I am getting the error "Unknown server tag 'ajax:Grid' ". After some search I found this solution from the following website.
http://www.dotnetspider.com/forum/271778-DataGrid-AJAX.aspx
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1 or asp" %>
But this solution is not working for me.
How can I resolve this error.
Thanks in advance.