Problems One May Encounter When trying to use the Ajax Control Toolkit for the first time.
Could not find any resources appropriate for the specified culture or the neutral culture. Make sure “AjaxControlToolkit.Properties.Resources.resources” was correctly embedded or linked into assembly “AjaxControlToolkit” at compile time, or that all the satellite assemblies required are loadable and fully signed.
System.Resources.MissingManifestResourceException: Could not find any resources appropriate for the specified culture or the neutral culture. Make sure “AjaxControlToolkit.Properties.Resources.resources” was correctly embedded or linked into assembly “AjaxControlToolkit” at compile time, or that all the satellite assemblies required are loadable and fully signed.
AjaxControlToolkit requires ASP.NET Ajax 4.0 scripts. Ensure the correct version of the scripts are referenced. If you are using an ASP.NET ScriptManager, switch to the AjaxScriptManager in System.Web.Ajax.dll, or use the ToolkitScriptManager in AjaxControlToolkit.dll.
The latest incarnation (3.6.097 as of this writing) of the asp.net Ajax Control Toolkit needs to be setup using its script manager and not the standard asp.net Script Manager.
So one way to avoid the above issues is to drag the ToolkitScriptManager (found in the control toolkit) onto the Form tag and then use any other Ajax Controls. Here is an example of it using the TabContainer:
<form id="form1" runat="server"> <asp:ToolkitScriptManager ID="ToolkitScriptManager2" runat="server"/> <div> <asp:TabContainer ID="TabContainer1" runat="server" ActiveTabIndex="1"> <asp:TabPanel runat="server" HeaderText="TabPanel1" ID="TabPanel1"> <ContentTemplate><p>Hello</p></ContentTemplate> </asp:TabPanel> <asp:TabPanel ID="TabPanel2" runat="server" HeaderText="TabPanel2"> <ContentTemplate><p>Hello2</p></ContentTemplate> </asp:TabPanel> </asp:TabContainer> </div> </form>
Thanks , this solved my issue perfectly.
System.Resources.MissingManifestResourceException: Could not find any resources appropriate for the specified culture or the neutral culture. Make sure “AjaxControlToolkit.Properties.Resources.resources” was correctly embedded or linked into assembly “AjaxControlToolkit” at compile time, or that all the satellite assemblies required are loadable and fully signed.
Thank you! I have been beating my head against these problems for the better part of tonight! Your tip finally pointed me in the right direction.
Superb solution. Thanks !!
hi… thanks for the solution! it really made my day.
But how does this solve the problem and why such issues are not mentioned in the places like readme files etc.??
The developers updated the toolkit and most likely were oblivious to all possible errors. You are developer, have you ever had a tester come up to you after a bug fix and ask, “Why didn’t you put in a catch for that…it seemed so obvious.”…. :-)
Great workaround/solution! Thank you very much!
Thanks thanks thanks …
Thanks, fixed my issue
Could not find any resources appropriate for the specified culture or the neutral culture. Make sure “AjaxControlToolkit.Properties.Resources.resources” was correctly embedded or linked into assembly “AjaxControlToolkit” at compile time, or that all the satellite assemblies required are loadable and fully signed.
Hi,
I had the same problem but after I added ToolkitScriptManager tag, my site show a new error:
Script controls may not be registered before PreRender.
What’s wrong with it?
Thanks for help.
thank you sooooooooo much… You really saved my day! Mwah3x :-)
yeah but what if you’re working off a page that uses a Master Page and there is no form tag?
The the same rules apply as before about hooking up the toolkit; there is no change…but to use Asp.net one always needs a form tag to use the controls. Am I missing something?
I also want to express my thanks, I met the same problem and just google it [and it led me to] here.
Hi everyone,
I have a similar problem, but inside a user control.
Pratically I have a user control (ascx) with a tabcontainer, when I put the user control in a web page I have the error:
“Could not find any resources appropriate for the specified culture or the neutral culture. Make sure “AjaxControlToolkit.Properties.Resources.resources” was correctly embedded or linked into assembly “AjaxControlToolkit” at compile time, or that all the satellite assemblies required are loadable and fully signed.”
I followed your suggestions but it doesn’t work, besides I noticed that I have this problem just with tabcontainer control, and not with others toolkit controls.
Any idea.
thanks a lot in advance
I’m having the same problem as defelix. I only have the problem inside of Web User Contorls and only with the TabContainer.
None of the solutions here have helped me.
Any help is appreciated.
Thanks,
Bob
I am facing the same problem but wrapping in form tag is not fixing the problem.
Preferences
Page One
Page Two
Page Three
You are not logged in.
Please login to access eservice
Please help.
Muito obrigado mano .. sua ajuda salvou meu dia .. tava a algumas horas tentando entender .. foi simples e objetivo .. VALEU ..
Nice 1.
This worked great, thanks for sharing.
Thanks very much, this made it work :)
I am incredibly grateful to you. There are a huge number of sites offering obtuse (to me) solutions to this issue. Yours immediately made sense and worked :)
This page helped me a lot. Thanks.
Here is what I had to do to get Ajax Tabs to work with pages that linked to a Master page.
I am self taught in building web pages and started about 4 weeks ago. I couldn’t have done it without the help available on the internet.
You will need code like this in Styles.CSS to control the styles of your tabs across you whole project. Note that
In your Master Page, you will need the “link” statement within the tag to pick up the CSS styling.
I added the “Register Assembly” line shown below as the second line in each of my ‘child’ pages.
—-End—-
Thanks Gary!
hi, I m new in web application. i work as per ur suggestion but now i get the error “Could not load type ‘System.Web.UI.ScriptReferenceBase’ from assembly ‘System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35′”
and wat abt with masterpage applied page where there is no form tag. pls help me
This solution is not working for me inside a master page. In the master I have this…
….
….
…
Then, in the .aspx page…
….
And I get this javaScript error:
Message: AjaxControlToolkit requires ASP.NET Ajax 4.0 scripts. Ensure the correct version of the scripts are referenced. If you are using an ASP.NET ScriptManager, switch to the ToolkitScriptManager in AjaxControlToolkit.dll.
Any ideas? I’m getting desperate!!!
Sorry, the rest of my ‘comment’ of Sept 6 seems to have been moderated out of existence. Maybe it was just too long.
Here is the rest of it.
Make sure that you have the line as below in your Master page.
This is the ‘Register Assembly’ line that you need in each child page, just after the ‘@ Page’ line.
Good luck.
Hey Dude…. you really save my day..
Thank you so much .
Thanks a lot man, that solved my problem!!
Thanks a lot. I was breaking my head with this the whole day.
:)
Yet another “Thanks a bunch!” comment….
Thanks a lot you have saved me…..from banging my head
Thank you very much……you saved my day (or should I say night……)
Thanks this helped a lot!!
Maarten
dang. that was it?
thanks a lot. you’re a lifesaver!!
Hi, I have same problem as defelix,
I created a user control with ajax tab control. I am using the user control in content page. In the content page it is giving the error as
“could not find any resources appropriate for the specified culture or the neutral culture. make sure “ajaxcontroltoolkit.properties.resources.resources” was correctly embedded or linked into assembly “ajaxcontroltoolkit” at complie time, or theat all satellite assemblies required are loadable and fully signed”.
Please suggest the steps to follow to get rid of this error.
Thanks in advance
Thanks a lot. It totally saved my day…
Thanks much.It saved lots of time for me.
This worked, but now my content is not showing up. What could be the problem?
Hi,
In our project we are using AJAX FileUploader in Update Panel. I am getting the same error not in compilation but I am getting it when I am debugging the project. It says it could not locate the ScriptControlBase.cs file and asking to browse and locate the file. Will it fix my problem?
Hi.When i am using the ‘Toolkit script manager ‘ also,i am getting same error like below
Could You Please Help me in this
(Could not find any resources appropriate for the specified culture or the neutral culture. Make sure “AjaxControlToolkit.Properties.Resources.resources” was correctly embedded or linked into assembly “AjaxControlToolkit” at compile time, or that all the satellite assemblies required are loadable and fully signed.)
One might also look into using the toolscript manager which is in the toolkit as well. (Edited by Moderator)
Could you elaborate as to how that helps? Thanks.
yes, thanx a lot ! yes ToolkitScriptManager helped
Thanks a lot for this. I’ve spend over 3 hours looking for solution that works & yours just saved my day. Thanks a lot. :-)
Thanks a lot…Way too long…looking for the solution
After breaking my head over, every possible method that can be out there, this once works fine for me. Thank you so much!
Thank God!
Just simple as that! :)
Hi,
Try this: http://stackoverflow.com/questions/3549628/problem-trying-to-use-an-item-from-ajaxcontroltoolkit-in-visual-studio-2008-as or this http://stackoverflow.com/questions/14267002/toolkitscriptmanager-is-not-a-known-element/33563237#33563237
Hope this helps.
Regards
shucode
This is not working in my case:
webform
– which is a child of aSite.master
(thissite.master
has already theToolkitScriptManager
control) and this error happens when I select a file with the AsyncFileUpload control – which is in the webform.Any other ideas?
Link: https://stackoverflow.com/questions/65394404/problem-with-asyncfileupload-in-webform-after-being-published-in-server-aja