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.0AjaxToolKitAjaxToolKit
Previous
 
Next
New Post
1/31/2007 2:02 PM
 
I have been given the task of upgrading our portal to the latest DNN. Everything has gone smoothly as far as DNN itself. I am also replacing some of our custom controls with Ajax.NET and AjaxToolKit. The toolkitcontrols seem to work somewhat, but the Ajax portions of the stuff DO NOT. I have seen other posts about adding the script manager to the skin (I have done this) and also changing the container to have an updatepanel (also have done this). I have 2 problems.

1. The Ajax stuff does not seem to work, postbacks are issued instead of partial updates. (the same code works fine outside of DNN)
2. The Tabs in the tab container in IE appear to only have half a tab (works fine in FF and Safari)

If anyone has an ideas I would love to hear them.
 
New Post
2/3/2007 4:30 AM
 

Yes, for the Ajax Control Toolkit you need to have a ScriptManager present, as well as do the right web.config changes (take a look at what is added additionally to the web.config when you create a blank Ajax enabled site).

The problem is that you cannot add a Script Manager from a control... it must be done to the Default.aspx page to work. Check out this:

http://vladan.strigo.net/Blog/tabid/71/ctl/ArticleView/mid/388/articleId/41/DNN--MS-Ajax-Best-practices-guidance--Part-1.aspx

http://vladan.strigo.net/tabid/71/articleType/ArticleView/articleId/42/Adding-a-ScriptManager-to-all-aspx-pages-without-changing-the-pages.aspx

One more thing, you need to add to the Compression.config in the <excludedPaths> section:

<path>ScriptResource.axd</path>
<path>WebResource.axd</path>

in order to make it work.

hope this helps,


Thanks,
Vladan Strigo
NETMedia

My website: Vladan.Strigo.NET

Vladan.Strigo.NET: Projects
* Advanced VS2005 development approach - BlankModule
* DNN & Microsoft Ajax best practices guidance

Vladan.Strigo.NET: Resources
* Comprehensive list of DNN 4 Module development resources

 
New Post
2/3/2007 11:52 AM
 

Vladan - you can add a script manager to a control but you have to be extra careful that you only have one control that has the script manager and that it appears before the modules that will use it - personally I put the script manager in the default.aspx that way there is no way to get something "under" it and I know its available on any tab i create

but the skin would work too

 


Dylan Barber http://www.braindice.com - Dotnetnuke development classes - skins and modules
 
New Post
2/3/2007 11:53 AM
 
edulink - what site are you updating (just curious)

Dylan Barber http://www.braindice.com - Dotnetnuke development classes - skins and modules
 
New Post
2/3/2007 1:03 PM
 

Hmm.... I know that you can add it to the page itself, or to the skin... but if you think of modules as products, you often see that you don't have access changes to Default.aspx (which is ok by me), and killing the independence of skins by counting that a skin must have a ScriptManager to work correctly sounds scary to me... I even don't like the web.config changes, but they are the least intrusive and easily done by everyone.

 


Thanks,
Vladan Strigo
NETMedia

My website: Vladan.Strigo.NET

Vladan.Strigo.NET: Projects
* Advanced VS2005 development approach - BlankModule
* DNN & Microsoft Ajax best practices guidance

Vladan.Strigo.NET: Resources
* Comprehensive list of DNN 4 Module development resources

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0AjaxToolKitAjaxToolKit


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