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

HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...[Solved!] DNN 6.1 & Ajax Control Toolkit - Tabs rendering only sometimes.[Solved!] DNN 6.1 & Ajax Control Toolkit - Tabs rendering only sometimes.
Previous
 
Next
New Post
1/23/2012 6:43 PM
 

I was having this nasty problem where my ajax toolkit Tabs in a custom module were having their visibility set to hidden.

 After loading up Ajax Control Toolkit into VS2010 and breaking on the part that controls the rendering, I noticed that the Render method is only called sporadically.  So I looked through the module settings for a way to change that. Turns out under:

 Host -> Extensions -> [Edit this extension] -> Module Definitions

There's a setting called "Default Cache Time" which was set to 60 by default.

Setting this value to -1 (never cache) forced the Ajax Control Toolkit Render routine to be called (correctly) every page-load.

 Removing and re-adding the module to the page fixed everything!

There may be some Partial Rendering setting somewhere that accomplishes the same thing, and I'm not sure if this was the optimal solution. Any input on the "best" way to handle this would be appreciated.

 TL;DR: Telling the module to never cache causes Ajax Control Toolkit rendering methods to be called every pageload.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...[Solved!] DNN 6.1 & Ajax Control Toolkit - Tabs rendering only sometimes.[Solved!] DNN 6.1 & Ajax Control Toolkit - Tabs rendering only sometimes.


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