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
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
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
|
Rank: Newbie Groups: Member
Joined: 9/13/2007 Posts: 5
|
Hi,
thats works for me :)
Thank you very much!!
|