Showing posts with label item. Show all posts
Showing posts with label item. Show all posts

Wednesday, March 28, 2012

AJAX Update Panel problem with IE6

On my site I have an asp:dropdownlist next to an asp:image. Ive put both of these within an asp:updatepanel. When the selected item in the dropdownlist is changed the panel updates with a new image depending on the selected item. This all works fine on FireFox and IE7, however on IE6 I get the following error:

Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 12019

As a temporary fix I have removed the updatepanel tag meaning the page now reloads every time and it works fine. However it would be much better if this didn't have to happen. Has anyone seen this error before, and if so how can I stop it from happening. Why does it happen on only IE6?

Thanks,

Curt.

Maybe this can help: http://forums.asp.net/t/1123365.aspx

Two last replies are specially interesting Wink


Thanks for the link bsevo.

I have been testing the site using IE6 on an OS which also has IE7 so maybe thats why its not working? I'll have to try and find an OS which has the 'real' IE6.

Monday, March 26, 2012

AJAX Toolkit - VB Toolbox Problem

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).Embarrassed

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..