Hi,
I am trying to add items to my newly created AJAX Toolbox, with "Choose Item" and no matter what i do i keep getting this error:
There was an error loading types from assembly "[location of AjaxControlToolkit.dll]" 'Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed'.
Any suggestions will be highly appreciated.
Thank you.
I ment to say VS Toolbox problem (as in Visual Studio).
hi there,
i had teh same problem . try building the ajax control toolkit solution and try adding the built dll. it worked for me.
Pretty please. Help needed!
I cannot use any controls from the Ajax Toolkit. Among other things, this is the error I get when i try to use such a control:
The type 'System.Web.UI.ExtenderControl' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
As far as I know, I used the correct settings in my web.config.
Any ideas will be highly appreciated.
I had the same issue. What I did was add the Toolkit application to the application configuration in the .NET configuration tool. Then I installed the extenders by using AJAXControlExtender.vsi.
That worked for me...
Make sure your web.config includes the following line:
<compilationdefaultLanguage="c#"debug="true"><assemblies>
<addassembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
If you put System.Web.Extensions.Design.dll and System.Web.Extensions.dll in your bin folder, i think you will see them..
No comments:
Post a Comment