Welcome Guest Search | Active Topics | Sign In | Register

ajax uploader in dotnetnuke 4.5.x Options
webfish
Posted: Thursday, September 13, 2007 1:40:17 AM
Rank: Newbie
Groups: Member

Joined: 9/13/2007
Posts: 5
I tried to use the ajax uploader control in a dotnetnuke module.
I changed the web.config

...
<add name="DNNMembership" type="DotNetNuke.HttpModules.DNNMembershipModule, DotNetNuke.HttpModules.DNNMembership" />
<add name="Personalization" type="DotNetNuke.HttpModules.PersonalizationModule, DotNetNuke.HttpModules.Personalization" />
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
<add name="EOWebRuntime" type="EO.Web.Runtime,EO.Web"/>
</httpModules>

copied the EO.Web.dll in the bin folder

but the page did not work.

The error message was:
null is not an object
the position of the error is at:
var b=Sys.WebForms.PageRequestManager.getInstance();b.add_endRequest(a);

It seems that the function Sys.WebForms.PageRequestManager.getInstance()
does not give back any object.

Are there any ideas how to solve this issue.

Thanx in advance,
webfish
eo_support
Posted: Thursday, September 13, 2007 10:15:48 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,088
Hi,

The issue is caused by DNN includes ASP.NET AJAX's script files but does not initialize it if there is no ScriptManager in the page. You can put an ASP.NET AJAX ScriptManager in the page and the problem should be gone.

Thanks
webfish
Posted: Thursday, September 13, 2007 8:43:24 PM
Rank: Newbie
Groups: Member

Joined: 9/13/2007
Posts: 5
Hi,

thats works for me :)

Thank you very much!!



You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.