I got following code in my asp.net application
<aspext:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
<Scripts>
<asp:ScriptReference Name="AjaxControlToolkit.Common.Common.js" Assembly="AjaxControlToolkit" />
<asp:ScriptReference Name="AjaxControlToolkit.ExtenderBase.BaseScripts.js" Assembly="AjaxControlToolkit" />
</Scripts>
</aspext:ToolkitScriptManager>
<asp:Panel ID="Panel1" runat="server" />
<script type="text/javascript" language="javascript">
function getPosition() {
//alert( $common.getLocation($get("<%=Panel1.ClientID %>")).x);
var commonObj = new AjaxControlToolkit._CommonToolkitScripts();
$common.setBounds($get("<%=Panel1.ClientID %>"),
{
x : 100,
y : 200,
width : 200,
height : 100
}
}
</script>
but I am getting this error:
The assembly 'AjaxControlToolkit, Version=4.1.40412.0, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e' does not contain a Web resource that has the name 'AjaxControlToolkit.Common.Common.js'. Make sure that the resource name is spelled correctly. Make sure that the application references the correct version of an ASP.NET AJAX Framework assembly
how to fix it?