How to solve error Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "AjaxControlToolkit.Properties.Resources.NET4.resources" was correctly embedded or linked into assembly "AjaxControlToolkit" at compile time, or that all the satellite assemblies required are loadable and fully signed ?
Reason
: In fact AjaxControlToolkit’s control load the reference that refers to the base System.Web.UI.Control method which is present as a part of theASP.NET AJAX Libraries and those libraries are referenced only when the ScriptManager is referenced in the page.
: In fact AjaxControlToolkit’s control load the reference that refers to the base System.Web.UI.Control method which is present as a part of theASP.NET AJAX Libraries and those libraries are referenced only when the ScriptManager is referenced in the page.
Solution: Don’t panic. The solution is very easy. Error is not as big as it looks. We don’t need to do with missing DLLs/ Assemblies rather simply register the ScriptManager or TookitScriptManager before placing Ajax control.
Implementation: So add ScriptManager from the AJAX Extension category of the Visual Studio’s toolbox or ToolScriptManager from the AjaxControlToolkit in the page before ajax control and this error would be resolved.
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
or
<asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
</asp:ToolkitScriptManager>
</asp:ScriptManager>
or
<asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
</asp:ToolkitScriptManager>
Comments
Post a Comment