Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0The ScriptManager must appear before any controls that need itThe ScriptManager must appear before any controls that need it
Previous
 
Next
New Post
12/4/2008 3:12 AM
 

Hi guys

I am going through a very unusal thing.

We are developing a DNN Module which uses the Ajax Functionality and the required Ajax extension version is v1.0.61025.

On our local development system everything is working very fine, but on the live site it is generating the following error message :

"The control with ID 'uplPPMsg' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it"

I created the Module PA with the dependencies of "System.Web.UI.ScriptManager" and so the module also installed successfully this shows that live site environment has the Ajax Frame work is installed. So there is not question of "Missing Of Ajax Framework" in anyways. If Ajax framework was not installed the DNN stops the Module installation at the very time.

Also, I have used the following line of code in the Page_Load event

if (DotNetNuke.Framework.AJAX.isIsInstalled())
{
               DotNetNuke.Framework.AJAX.RegisterScriptManager();
}


but even though we keep on getting the same message "The control with ID 'uplPPMsg' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it".

Also, we have the following DLL in the DNN application's BIN directory :
1. System.Web.Extension.DLL
2. AjaxControlToolKit.DLL


I also tried the DNN "Support Partial Rendering" setting of the Module on the View Control, but the status is same , the eror "The control with ID 'uplPPMsg' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it" sticks to there only. No luck this time.

Also, in host Settings "Enable AJAX" setting is checked. So no there is no loope hole.

I do not find any solution from anywhere by googling too, in any of the case.

I want the DNN experts to look for this issue.

Thanks a lot
Sachin Srivastava
 

 
New Post
12/4/2008 6:18 AM
 

I have a very similar problem, although I don't get the error message, AJAX simply doesn't work - I get a full postback.

My problem is that a ScriptManager is NOT included in my page - I click on ViewSource and search fro ScriptManager and it is not found.

I have also checked that we have the following DLL in the DNN application's BIN directory :
1. System.Web.Extension.DLL
2. AjaxControlToolKit.DLL

My module also has "Support Partial Rendering" set to on and has this code

if DotNetNuke.Framework.AJAX.isIsInstalled() then
               DotNetNuke.Framework.AJAX.RegisterScriptManager()
end if

Also, in host Settings "Enable AJAX" setting is checked. So no there is no loope hole.

HELP!!!!

 


Blue & White hooped blood runs through my veins!
 
New Post
12/5/2008 9:50 AM
 

Did ASP.NET Ajax Extension is in your system?

 

 
New Post
12/5/2008 11:21 AM
 

Blue & White hooped blood runs through my veins!
 
New Post
12/5/2008 12:38 PM
 

SupaHoopsa wrote
 

 

My module also has "Support Partial Rendering" set to on and has this code

if DotNetNuke.Framework.AJAX.isIsInstalled() then
               DotNetNuke.Framework.AJAX.RegisterScriptManager()
end if

If you use the code "AJAX.RegisterScriptManager()"

Do not set the moduel to "Support Partial Rendering".



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0The ScriptManager must appear before any controls that need itThe ScriptManager must appear before any controls that need it


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out