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

HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...DotNetNuke.Framework.AJAX.RegisterScriptManager doesnDotNetNuke.Framework.AJAX.RegisterScriptManager doesn't work!
Previous
 
Next
New Post
11/4/2009 1:28 AM
 

Hello

i have run DNN 4.9.5 on asp.net 3.5.

if i using DotNetNuke.Framework.AJAX.RegisterScriptManager for add ScriptManager to page,after that, the UpdatePanel doesn't work, it's mean ,after i click only button in current UpdatePanel, the page will be refreshed.

but if i drag ScriptManager from Toolbox into ascx file directly , the UpdatePanel will work normally.

long time ago ,i have installed asp.net ajax extension 1.0 on my PC. may be this will cause some problem.

any ideas will be appreciated.

Thank you,
Daniel

 

 
New Post
11/4/2009 10:29 AM
 

Below are some questions and depending on the answer some suggestions...

Questions

  1. Have you changes the DNN Install to use the 3.5 Ajax Framework (by default it is using the 1.x)?
     
  2. Is the ScriptManager you reference being added to a Module (.ascx file) or a Page (.aspx file)?
     

Suggestions for Questions

  1. If no, do the following to migrate the site to Ajax 3.5
    1. Stop Your Site
    2. Make a Backup of the Database and Website (files etc)
    3. Delete the System.Web.Extensions.dll from the Bin
    4. Open the Web.Config
    5. Replace all Instances of "1.0.61025.0" with "3.5.0.0"
    6. Save and Close
    7. Restart Your Site and Test
       
  2. If Added to a Module (.ascx), Remove the ScriptManager, DNN Adds One Dynamically on Render of the Page
    If Added to a Page (.ASPX) the Changes Above Should Resolve 
     

Please let me know if this gets you going or not. 

 


Best Regards,

Robert J Collins | Co-Founder & President

Netlogic Corporation

 
New Post
11/4/2009 10:40 AM
 

I think DNN only adds the ScriptManager if your module is marked as 'supports partial rendering', I also think that marking means DNN automatically encloses your module's output in an UpdatePanel.

Maybe someone who really knows will be along in a moment.


Best wishes,
- Richard
Agile Development Consultant, Practitioner, and Trainer
www.dynamisys.co.uk
 
New Post
11/4/2009 12:25 PM
 

Richard Howells wrote
 

I think DNN only adds the ScriptManager if your module is marked as 'supports partial rendering', I also think that marking means DNN automatically encloses your module's output in an UpdatePanel.

Maybe someone who really knows will be along in a moment.

I think he is talking about selectively enabling it programmatically. For help see: More DotNetNuke AJAX Functionality (VB & C#)



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
New Post
11/4/2009 10:49 PM
 

Robert Collins wrote

Below are some questions and depending on the answer some suggestions...

Questions

  1. Have you changes the DNN Install to use the 3.5 Ajax Framework (by default it is using the 1.x)?
     
  2. Is the ScriptManager you reference being added to a Module (.ascx file) or a Page (.aspx file)?
     

Suggestions for Questions

  1. If no, do the following to migrate the site to Ajax 3.5
    1. Stop Your Site
    2. Make a Backup of the Database and Website (files etc)
    3. Delete the System.Web.Extensions.dll from the Bin
    4. Open the Web.Config
    5. Replace all Instances of "1.0.61025.0" with "3.5.0.0"
    6. Save and Close
    7. Restart Your Site and Test
       
  2. If Added to a Module (.ascx), Remove the ScriptManager, DNN Adds One Dynamically on Render of the Page
    If Added to a Page (.ASPX) the Changes Above Should Resolve 
     

Please let me know if this gets you going or not. 

 

 

Thanks for you suggestions

the problem is System.Web.Extensions.dll file.

after i deleted this file. then AJAX.RegisterScriptManager() is workfing fine.

the version of System.Web.Extensions.dll is 1.0.61025.0 .

 
Previous
 
Next
HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...DotNetNuke.Framework.AJAX.RegisterScriptManager doesnDotNetNuke.Framework.AJAX.RegisterScriptManager doesn't work!


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